Special:
|
[DAT] (requires LDraw-compatible viewer)
|
Subject:
|
L3P Idea
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Fri, 29 Dec 2000 21:06:56 GMT
|
Viewed:
|
615 times
|
| |
| |
It would be really nice if L3P could put arbitrary POV code in for parts.
POV code could go into the comments of the dat file. The way I would like it
to work would be to substitute in the position, angle and color of the part
in variables. So, for example, a light source could be coded like the
example below. With this, it would be easy to add smoke, explosions, laser
blasts, sky backgrounds, rainbows, sunsets, etc etc with MLCad or whatever.
Parts could also have POV code that enhanced them in special ways. For
example, the Lego lamps could be made to light, parts could know how to
animate themselves, wheels could have motion-blur. The .dat code after the
POV code could either be interpreted as normal, or deleted with a special
directive %DELETE.
What do you think? Technically it would be a simple change.
Here is an example of what a dat file for a light would look like.
light.dat
0 %POV_CODE_FOLLOWS
0 // Pov-RAY Light Source
0 light_source {
0 <%X,%Y,%Z>
0 color rgb <%R,%G,%B>
0 }
0 %DELETE_DAT_STUFF
2 24 0 4 0 0 1 0
2 24 4 0 0 1 0 0
2 24 0 0 4 0 0 1
2 24 0 -4 0 0 -1 0
2 24 -4 0 0 -1 0 0
2 24 0 0 -4 0 0 -1
light.pov (after conversion)
// Pov-RAY Light Source
light_source {
<-134,-142,-14>
color rgb <0.968627,0.160784,0.054902>
}
|
|
Message has 3 Replies: | | Re: L3P Idea
|
| (...) The latest version of L3P supports it this already. Look at this post as an example: (URL) (24 years ago, 29-Dec-00, to lugnet.cad)
| | | Arbitrary code (was Re: L3P Idea
|
| (...) This got me thinking... Take a look at this rendering for example: (URL) is a really neat model, but the reflected parts are just "wrong". Wouldn't it be nice if the slope parts had POV code that somehow changed the reflectivity or the surface (...) (24 years ago, 30-Dec-00, to lugnet.cad)
| | | Arbitrary code (was Re: L3P Idea
|
| (...) This got me thinking... Take a look at this rendering for example: (URL) is a really neat model, but the reflected parts are just "wrong". Wouldn't it be nice if the slope parts had POV code that somehow changed the reflectivity or the surface (...) (24 years ago, 30-Dec-00, to lugnet.cad, lugnet.cad.dat.parts)
|
20 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|