[X3D-Public] [WWW-Vrml] x3d file highlight background does not work

Chris chris.schweighofer at gmx.net
Tue Jul 10 10:39:38 PDT 2012


thx Don, Michalis, Vincent. You are amazing.
Finally I made it with your help.

I can watch now at all the models with one view. 
It only seems that the colors get darker, but maybe I am wrong?
Now I have just one more question: Is it possible to view it also in blender?
I tried it in FreeWRL. It worked well, but blender did not accept the changes.


Am 10.07.2012 um 18:44 schrieb Vincent Marchetti:

> On Jul 10, 2012, at 12:09 PM, Michalis Kamburelis wrote:
>> Don Brutzman wrote:
>>> again cc: x3d-public.  apologies i can't check this today but perhaps
>>> someone else can.  good luck!
>>> On 7/10/2012 12:38 AM, Chris wrote:
>>>> Hello Don,
>>>> thx for your answer. I know there is no error in the code.
>>>> I try since days to cull the front face of the bigger objects to see the smaller objects in the bigger one.
>>>> At the moment I have no idea how this should be working?
>>>> Do you have a idea.
>> To cull the faces, use solid="true" for IndexedFaceSet (and other geometry nodes with faces). This is already the default in X3D actually. Use ccw="false" to flip which side is culled (default is ccw="true" in X3D). The relevant spec part is "11.2.3 Common geometry fields", on http://www.web3d.org/files/specifications/19775-1/V3.2/Part01/components/rendering.html#CommonGeometryFields .
>> Hope this helps,
>> Michalis
>> _______________________________________________
>> X3D-Public mailing list
>> X3D-Public at web3d.org
>> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
> In addition to Michalis' suggestion to reverse the culling of the outer object, you may also be able to get the effect you want by making the transparent attribute of the Appearance node for the outer shape close to 1, to see the inner object inside the outer. You may have to experiment with the colors of the different objects, and making the Background node "skycolor" = "1 1 1" (white) greatly improves the visibility of the transparent shapes. You can use the X3D-Edit application to edit the Appearance and color nodes. Also, the Xj3D browser allows you to selectively hide different parts of the Scene Graph, use the View > Scene Tree menu to do this.
> _______________________________________________
> X3D-Public mailing list
> X3D-Public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org

More information about the X3D-Public mailing list