POV-Ray : Newsgroups : povray.advanced-users : importing VRML files from SOLIDWORKS : Re: importing VRML files from SOLIDWORKS Server Time
26 Jun 2024 08:27:00 EDT (-0400)
  Re: importing VRML files from SOLIDWORKS  
From: Alain
Date: 2 Feb 2012 23:09:04
Message: <4f2b5de0@news.povray.org>

> Hello,
>
> I import VRML files from SOLIDWORKS 2011 (SW2011)to compose some pieces of my
> pictures with PovRay.
> I convert the VRML files coming from SW2011 to pov files.
> But, when I put the textures in my code, these elements remain white.
>
> Looking at the VRML files, I don't see any problem.
>
> So, when I render, only the parts coming from VRML files remain white.
>
> Is there a way to apply POV textures on them as if there were POV code parts ?
>
> Or, have I to make some special manipulations in SW2011 to make the VRML files
> really usefull in POVRAY ?
>
>
> koo### [at] freefr is better
>
>
>
>
>
Check your imported objects. It looks like they have a white pigment or 
a texture with a white pigment included.

Another possibility can be that the included texture use a 0 to 255 
range. If that's the case, any non-saturated pigment will appreas as 
white as it gets clipped.
Try showing those objects in a weakly reflective surface. Use something 
like finish{reflection 0.01}}
In this case, edit the generated SDL to divide all pigments by 255.
pigment{rgb<rrr, ggg, bbb>/255



Alain


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.