Subject:
|
Re: problems converting
|
Newsgroups:
|
lugnet.cad.ray
|
Date:
|
Fri, 23 Jun 2000 16:49:43 GMT
|
Viewed:
|
539 times
|
| |
| |
In lugnet.cad.ray, Kyle Riley writes:
> Does anyone know how to make a brick/whatever transparent in POV-RAY? In MLCAD
> the piece is transparent and I've also checked in LDRAW's viewer...both
> transparent. But, when I use L3P to convert it to POV-RAY format, I end up
> with a solid blue windshield on a car and simliar coloring on a castle. Is
I'm not sure what is wrong, but for a quick fix you should check the color
definitions in the resultant POV include file. Make sure that the 'filter' is
set in the 'pigment' portion of the declaration. For example, here is a
declaration for the translucent-red color, as produced by L3P:
#declare Color36 = #if (version >= 3.1) material { #end texture {
pigment { rgb <0.968627,0.160784,0.054902> #if (QUAL > 1) filter 0.85
#end }
finish { ambient AMB diffuse DIF }
#if (QUAL > 1)
finish { phong 0.5 phong_size 40 reflection 0.2 }
#if (version >= 3.1) #else finish { refraction 1 ior 1.25 }
#end
#if (BUMPS) normal { BUMPNORMAL } #end
#end
} #if (version >= 3.1) #if (QUAL > 1) interior { ior 1.25 } #end } #end
You can see that the filter is set to 0.85 in the second line, so 85% of
the light should pass through (i.e. translucence) any piece that uses Color36.
Also notice that this is dependent on the quality setting, QUAL, being greater
than 1. Check at the top of your include file for something like this:
#declare QUAL = 2; // Quality level, 0=BBox, 1=no refr, 2=normal, 3=studlogo
Hope this helps!
> P.S. Also, on a side note, can anyone explain why my LDraw Add-on is not
> working. It's giving me a message telling me that a file, com32dlg.ocx is
> outdated. Yes, I have also installed the newest version of the virtual basic
> files. Anyone know why this is causing a problem? A solution, or a copy of
> someone's working file would also be great.
Yep, I'm having the same problem! Exact same error message here. I tried
reinstalling LDAO and the VB files about 5 times each, but with no luck.
Anybody know what's wrong?
|
|
Message is in Reply To:
| | problems converting
|
| Hello everyone. I got LDRAW years ago and recently found it again after a computer upgrade. I've been having quite a bit of fun with the MLCAD program and have also been playing with the POV-RAY program. Well, here's my problem. Does anyone know how (...) (24 years ago, 23-Jun-00, to lugnet.cad.ray)
|
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|