|
 |
Hey folks,
I spent a weekend messing around with GPT-5.2 and built a quick proof-of-concept
for a MORAY-style scene editor that runs entirely in your browser. No install,
just open the HTML.
What works:
Parses .pov files (most of the time)
3D orbit view
Basic CSG operations (when they feel like it)
Export back to .pov (theoretically working)
Display Modes:
Phong Shading
Wireframe
Point cloud
What's broken:
Pretty much everything else.
Very intricate CSG falls apart.
Textures? LOL
Havent taken it very far, just been iterating to get the csg started. Im not a
coder, I just threw ideas at AI in my spare time and this popped out (Im using
the same method to create actual functional CAD tools for work, which *are*
fully functional - CSG is a lot more complex from a code standpoint)
The Point:
This is what you can build with AI in 2 days when you don't know what you're
doing. If you actually know POV-Ray internals, you could make this not-terrible.
I'm releasing it GPL-3.0. Fork it, fix it, burn it for warmth, whatever. Just
seemed like a waste to let it rot on my hard drive.
How to use:
Open the HTML in Chrome - sample scene loads - play around then:
Load a .pov file into the window
Watch it probably fail to parse CSG properly (Woodbox.pov is a sample I've been
iterating on - and it sees most of the primitives now, but it's not evaluating
correctly. Chess-2.pov shows promise as well.)
If you want to improve it:
Feed the code to ChatGPT 5.2 or Claude or Gemini with prompts like "fix the
cylinder parsing" or "make CSG actually work" and iterate. That's literally what
I did. My iterating is generally - load the POV file (start simple) -
screenshot the scene, and paste the screenshot + Pov file into the AI chat and
have it evaluate where the parser failed and iterate to write a new .html..
If you get anything working I'd love to hear back, take your html and iterate
more.. I have a lot of ideas on how to set up the view and object handing based
on what Im doing at work...
Have fun.
- Chris
Post a reply to this message
Attachments:
Download 'povray-modeller-goldmaster-v0.3.8.2.html.htm' (110 KB)
|
 |