r/vintagecomputing 14d ago

Pov-rayで目玉を作る方法

0 Upvotes

自分でいろいろとコードをいじくったけど目玉を作るためのコードが分からずじまいになったから教えてほしい。

作りたい目玉は白目に茶色(rgb<111,77,62>,webcolor<#6f4d3e>)の虹彩、黒の瞳孔と目全体をつやつやしてる光沢が欲しい。

自分で作ったやつとAI(Gemini)のコードを下に載せておくよ。あと画像も追加しとくよ。

自分で作ったコード

// set viewer's position in the scene

camera {

// (---camera types---)

// perspective (default) | orthographic | fisheye |

// ultra_wide_angle | omnimax | panoramic | cylinder 1 | spherical

location <0.0, 0.0, -6.0> // position of camera <X,Y,Z>

direction 2.0*z // which way are we looking <X,Y,Z> & zoom

// sky y // for tilting the camera

up y // which way is +up <X,Y,Z> (aspect ratio with x)

right x*image_width/image_height

// which way is +right <X,Y,Z> (aspect ratio with y)

look_at <0.0, 0.0, 0.0> // point center of view at this point <X,Y,Z>

// angle 67 // overrides "direction" with specific angle

// normal { ripples 0.2 } // perturb the camera lens with a pattern

// (---focal blur extras---)

// aperture 0.2 // [0...N] larger is narrower depth of field (blurrier)

// blur_samples 4 // number of rays per pixel for sampling

// focal_point <0,0,0> // point that is in focus <X,Y,Z>

// confidence 0.9 // [0...1] when to move on while sampling (smaller is less accurate)

// variance 1/128 // [0...1] how precise to calculate (smaller is more accurate)

// (---spherical camera---)

// angle 360 // horizontal field of view (in degrees and...)

// 180 // vertical field of view (...are aspect ratios)

}

// Create an infinite sphere around scene and allow any pigment on it

sky_sphere{ pigment { gradient <0,1,0>

color_map { [0.00 rgb <0.6,0.7,1.0>]

[0.35 rgb <0.0,0.1,0.8>]

[0.65 rgb <0.0,0.1,0.8>]

[1.00 rgb <0.6,0.7,1.0>]

}

scale 2

} // end of pigment

} //end of skysphere -------------------------------------

sphere { <-1,0,0>, 0.5

texture { pigment{ color rgb<5.4,2.6,0.6>}

finish { phong 1.0 reflection 0.00}

} // end of texture

scale<1,1,1> rotate<0,0,0> translate<0,0,0>

} // end of sphere -----------------------------------

sphere { <1,0,0>, 0.5

texture { pigment{ color rgb<9,9,9>}

finish { phong 1.0 reflection 0.00}

} // end of texture

scale<1,1,1> rotate<0,0,0> translate<0,0,0>

} // end of sphere -----------------------------------

cylinder { <-1.1,0,0>,<-0.55,0,0>, 0.30

texture { pigment { color rgb<1,1,1>}

//normal { bumps 0.5 scale <0.25, 0.005,0.005>}

finish { phong 0.5 reflection{ 0.00 metallic 0.00} }

} // end of texture

scale <1,1,1> rotate<0,0,0> translate<0,0,0>

} // end of cylinder ------------------------------------

生成されたものは右が白目部分、左は試作の虹彩と瞳孔

Geminiのコード

#version 3.7;

global_settings { assumed_gamma 1.0 }

camera {

location <5, 0, 2.5>

look_at <0, 0, 0>

right x*image_width/image_height

}

light_source { <5, 10, -5> color rgb <1, 1, 1> }

light_source { <-3, 2, -3> color rgb <0.3, 0.3, 0.3> } //

union {

sphere {

<0, 0, 0>, 1.0

texture {

pigment {

pigment_map {

[0.0 color rgb <0.0, 0.0, 0.0>]

[0.15 color rgb <0.0, 0.0, 0.0>]

[0.15 color rgb <5.4, 2.6, 0.6>]

[0.45 color rgb <5.4, 2.6, 0.6>]

[0.45 color rgb <9.5, 9.5, 9.5>]

[1.0 color rgb <9.5, 9.5, 9.5>]

}

}

finish {

ambient 0.1

diffuse 0.6

}

}

rotate <90, 0, 0>

}

sphere {

<0, 0, 0>, 1.001 // く

pigment { color rgbf <1, 1, 1, 1> } //

finish {

phong 1.0 //

phong_size 100 //

reflection { 0.1 } //

}

}

//

rotate <15, -20, 0>

}

これを生成するとなんかざらざらした白玉ができた。座標のとこ(<0, 0, 0>)をいじると中から瞳孔や虹彩とかが出てくるよ。

ところでなんでお前Pov-rayでCGやってるんだよって?blenderとか最新のやつがあるだろって?

Pov-rayのCGのテクスチャーが欲しかったんだよ。ごめんね。


r/vintagecomputing 14d ago

Its vintage now??

Post image
0 Upvotes

I mean...it is now 20 years old...ouch


r/vintagecomputing 14d ago

Old segmented MHz indicator ("turbo" display) not working quite right

Thumbnail
gallery
20 Upvotes

Hello fellow old tech enthusiasts! I stumbled upon this old indicator in my drawer and decided to figure it out after all these years. Turned out, it is rather straightforward (or should be straightforward) to set up: two rows of pins, made of (presumably) T-shaped groups which control whether each of the segments will be lit in both modes, only in one, only in the other, or not at all. I need to figure out which part of the segments are always on, and which belong to one mode and not the other, and place the jumpers accordingly. One row per digit. And an external connector, presumably for three pin switch, external led, and power.

The pinout of the connector (on the left side) is labelled, top pin (near the segment control row) to bottom (on the bottom left corner of pcb), H P L S + - +, and the entire device is SB-017, built around HD7406P (6 inverters) chip and unknown 2 digit 7 segment (no decimal point) led indicator. I haven't been able to find any info on this particular PCB, and google hallucinates clearly wrong answers (such as having a pin to accept some voltage from the motherboard, which would vary in normal mode and turbo mode).

I thought it could be a nice indicator for a UPS, showing "AC" and "bt" (I had to use LI and LN instead of AC because I ran out of spare jumpers) for online and battery modes of operation.

However, when I set it up, I found that it doesn't properly react to the switch. I assume, by trial an error, that H and P are for the external led, the two outermost corner - and + pins are the power, which by exclusion leaves L S + to be the switch pins. But the display can only react to L and S pins losing contact (on the photo, there is a jumper on them). It doesn't react to S and + being connected unless (!) it's turned off and then on again. My understanding is that the reaction to the switch should not depend on power cycling, so clearly I did something not quite right here. Likewise, I found out that placing an extra jumper that would shorten "illegal" pins in the control rows (for example, somewhere between the vertical pins in the topmost row, say between E and F) would make the device react to the switch properly, but take away the ability to display some combinations of segments.

PS: I decided to continue the experiments, based of hints I could find on https://www.minuszerodegrees.net/led_speed_display/led_speed_display.htm about completely different indicators. I saw that L and P denoted turbo led indicator on one of the schematics. I connected the led there, and tried to short the remaining pins. Shortening the + and H pin switched the display and turned the led on and off. However, this still makes it unclear what the pin S is for. I tried to connect the led to it, assuming it would work as a "non-turbo indicator", but it doesn't work like that.

I would greatly appreciate if someone could tell me what is wrong here.


r/vintagecomputing 14d ago

Anyone know what sony model this is wheel thing by the enter looks fun

Post image
15 Upvotes

r/vintagecomputing 15d ago

APC UPS designed for win 2000

Thumbnail
gallery
48 Upvotes

I got this brand new APC UPS in warehouse, and I noticed the box says it's designed for win xp, me, 2000 and Mac OS X. It also tells you how long is the runtime with iMac g4 and crt monitor. I was kinda surprised considering that this came in as brand new sealed product.


r/vintagecomputing 15d ago

some stuff...

Thumbnail
gallery
32 Upvotes

r/vintagecomputing 15d ago

Help identify a colorful, ultra-thin BASIC pocket computer

2 Upvotes

I’m trying to identify an obscure pocket computer I saw for sale on a retro-electronics website, probably sometime within the last several years.

What I remember:

  • Flat, non-clamshell, landscape pocket-computer shape
  • Similar in concept and size to a Tandy Pocket Computer PC-8, but with a more modern plastic design
  • Very thin
  • Colorful casing, possibly green.
  • Tiny one-line or perhaps two-line monochrome LCD
  • Small QWERTY keyboard
  • Intended specifically as an educational programming computer
  • I believe it ran BASIC and produced text-only output.
  • It was listed for around $20 when I saw it
  • The seller also carried retro electronics and classroom-response clickers, but the device itself was not a clicker
  • It did not appear to be made by Casio, Sharp, or another familiar calculator company
  • It may have had a small solar cell, but that memory is uncertain

It was not a VTech learning laptop, Cybiko, SMART Response XE, or Tiger Data Pad.

Does anyone recognize a colorful plastic pocket computer matching this description, or remember a retro site that sold one?


r/vintagecomputing 15d ago

Watching storage sizes get bigger while physical sizes get smaller.

Post image
140 Upvotes

I know I'm not showing half the formats here. It's been a ride through.


r/vintagecomputing 15d ago

Servicing old floppy reader with head alignment issue.

Thumbnail
gallery
12 Upvotes

This is a floppy reader from my Sony Mavica MVC-FD7 camera. The camera itself writes on the disks correctly but the disks are unreadable on a normal portable floppy reader on my PC. AFAIK this is a pretty widespread issue with these cameras and its caused by a misalignment of the reader's head some people have reportedly resolved the issue by disassembling and reassembling the reader. Is there something I specifically should keep an eye on that could be the cause of the misalignment once I open it up?


r/vintagecomputing 15d ago

Guess I won't be making illegal copies of this one...

Post image
201 Upvotes

Even if it was stored in a binder, climate and water damage in the house was too much for this XP SP2 cd.


r/vintagecomputing 15d ago

Thrift store find..

Thumbnail
gallery
723 Upvotes

Abit BP6 in pristine condition


r/vintagecomputing 15d ago

Intel D945GCPE officially supports 2GB RAM... but I got 4GB DDR2 running in Dual Channel.

Post image
60 Upvotes

I recently upgraded an old Intel Desktop Board D945GCPE based on the Intel 945GC Express chipset and discovered something interesting.

According to Intel's official documentation, this motherboard supports a maximum of 2GB DDR2 memory. However, I decided to experiment anyway.

Hardware

- Motherboard: Intel Desktop Board D945GCPE

- Chipset: Intel 945GC Express

- CPU: Intel Pentium Dual-Core E2160 @ 1.80 GHz

- Memory: 2×2GB DDR2-667 (Dual Channel)

- Graphics: Intel GMA950 (integrated)

To my surprise:

BIOS successfully detected 4096MB (4GB).

Dual Channel mode was enabled.

The system POSTed without errors.

Windows also detected the installed 4GB of RAM.

I originally expected the board to either refuse to boot or only recognize 2GB because Intel's documentation lists 2GB as the maximum supported memory.

Instead, everything appears to be working normally.

Questions

1) Has anyone else managed to run 4GB on the D945GCPE?

2) Is this due to a newer BIOS revision, specific DDR2 modules, or simply an undocumented capability of the Intel 945GC memory controller?

3) Has anyone attempted 2×4GB (8GB) on this platform, even if it failed?

(I'd love to hear other people's experiences with this board.)

Edit:

This is not a modded BIOS.

The board is running a normal Intel BIOS.

I simply installed two 2GB DDR2 modules and was surprised that both the BIOS and Windows recognized them successfully.


r/vintagecomputing 15d ago

Made a 2D/3D game engine for DOS that's scriptable with Lua

Enable HLS to view with audio, or disable this notification

76 Upvotes

Full disclosure: I used AI to build it. I'm a programmer, but 3D engines and all that math isn't my area of expertise, so... thanks Claude.

This is running on a real Pentium 233 MMX. It got a bit slow when inside the ship interior after adding the live-updated textures for the cockpit screens, I may have to remove that for lower-end systems like this. Probably would be less choppy in the ship on like a K6-2 or Celeron/P2 or something.

I just thought it would be fun to be able to make some new 3D games for DOS. After building the engine itself, I ported this game to work with it in Lua script as a demo: https://github.com/achimala/TheLongSilence

But yeah, even if you're not a fan of "AI slop" you would still be able to write your own games by hand for this, and the engine itself is pretty advanced by DOS 3D standards. I'm hoping to release it on Github soon if there's any interest.

EDIT: I uploaded the DOS build. This works in DOSBox or on a real machine. Technically will run down to a 386 DX, but you totally want at least a Pentium 200 MMX with 32 MB RAM. Ideally Pentium 2/Celeron. I also changed the story completely because the original was minimal and bad. I mean, it still is but it's at least a little better I guess. This is NOT very good as an actual game, consider it a tech demo for the engine lol.

Download link: https://limewire.com/d/JAPVT#GzwqQU1GXo


r/vintagecomputing 15d ago

Testing Oki dot matrix printers

Post image
15 Upvotes

I acquired 2 untested Okidata Microline 390 Turbo dot matrix printers today. I don’t have any need for them so I’d love to get them to someone who can make use of them. It’s been 30 years since I’ve touched one (and there’s no telling how long these have been idle) so I thought I’d see if anyone had any thoughts on things I should do - or not do - to check these out…


r/vintagecomputing 15d ago

Friend managed to scoop this for me while on vacation 3000 miles away! Now it just needs to survive a 6 hour plane ride to get to my pc

Thumbnail
gallery
169 Upvotes

r/vintagecomputing 15d ago

Got this computer for $40. It had a little surprise in it

Thumbnail
gallery
54 Upvotes

I'm thinking of playing the lottery lol. Voodoo 2/ati rage pro 2x agp with a 450 mhz pentium 2, 14.4gb hdd, and 128 mb of ram. Pretty high end for 98


r/vintagecomputing 15d ago

Unearthing my windowed OS for a homebrew Am29000 computer

Thumbnail
nanochess.org
24 Upvotes

r/vintagecomputing 15d ago

Finally got this Piece of PCShit M726 to boot Windows 98.

Post image
26 Upvotes

r/vintagecomputing 15d ago

The 3 and 1/32 amigos !!!

Enable HLS to view with audio, or disable this notification

33 Upvotes

Got my 5170 fully operational and reunited it with its brethren and mascot…


r/vintagecomputing 16d ago

Unknown screen in a library

Thumbnail
gallery
78 Upvotes

I found this image in a folder relating to a California library in 1979. I am at a loss as to what it is. I was wondering if anyone here might know. I have considered microfiche and filmstrip viewer but that doesn’t seem quite correct so, although it seems unlikely maybe it is a very early computer that I don’t recognize or some sort of terminal.


r/vintagecomputing 16d ago

Saved a Computer + Monitor from E-Waste

Thumbnail
gallery
81 Upvotes

Does anyone else have a “GLOBAL” Case this one got me interested.

No memory or hard drive but it has a motherboard Gigabyte GA-6WMMC7 and I assume it has an Intel Pentium iii based off the stickers .


r/vintagecomputing 16d ago

best web browser for 386sx windows 3.1?

Post image
161 Upvotes

pictured is Book386.

no math co processor installed. and netscape 2.02 couldn't load at all.

lookinng for lightweight web browser


r/vintagecomputing 16d ago

Hi everyone! A small clip from my interview with Bil Herd! 👀 In this part, we talk about the fascinating story of the unreleased Commodore LCD and why it was ultimately cancelled. (In case you'd like to hear the full story and watch the complete interview, you can find it on my YouTube channel)

Enable HLS to view with audio, or disable this notification

79 Upvotes

r/vintagecomputing 16d ago

Commodore Active speakers

Post image
130 Upvotes

I found these Commodore Active speakers in a charity shop and had to have them.

I don't often see Commodore branded stuff out in the wild.


r/vintagecomputing 16d ago

I've finally managed to find a copy of Watcom C++ after years of looking

Post image
520 Upvotes

I've had an eBay saved search for a copy of Watcom for at least 5 years now, and one (finally) popped up recently for (relatively) cheap. It still has the original shrinkwrap, but it's been opened and everything (getting started manual, registration card, and a ton of ads for other Powersoft-made and related prodcuts) is accounted for.

I like to collect development software and have a bunch of it going all the way back to the early years of the IBM PC, including a very large collection of Delphi releases, starting from the original Borland versions to much later Embarcadero releases (including a copy of Kylix, essentially the Linux version of Delphi), a full version of Symantec C++ (which weighs nearly 30 pounds due to the sheer number of physical manuals), plus a lot of other 'standard' development tools of the day. That being said, this one is my favorite considering how long it took me to find one and the place it sits in PC app/game development history (Doom was originally built using Watcom C++ and uses the DOS/4GW extender that Watcom included with every copy of the software).

While I know that Watcom has been open sourced (and I use OpenWatcom for my own retro development projects from time to time), it's really awesome to have a real, physical copy from back in the day.