POV-Ray : Newsgroups : povray.advanced-users : importing VRML files from SOLIDWORKS Server Time
1 Jun 2024 16:43:33 EDT (-0400)
  importing VRML files from SOLIDWORKS (Message 1 to 3 of 3)  
From: danbo
Subject: importing VRML files from SOLIDWORKS
Date: 1 Feb 2012 09:15:00
Message: <web.4f2948844ce42ca7e3fe5e980@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


Post a reply to this message

From: Christian Froeschlin
Subject: Re: importing VRML files from SOLIDWORKS
Date: 2 Feb 2012 21:06:06
Message: <4f2b410e$1@news.povray.org>
danbo wrote:

> 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 ?

POV-Ray doesn't know about VRML file so it is a matter of the
SDL code generated by the conversion or export tool. You will have
to see how the objects are defined and whether the white texture
is already applied to the object.


Post a reply to this message

From: Alain
Subject: Re: importing VRML files from SOLIDWORKS
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.