Hi Vincent,
I could reproduce this behavior, looks like a bug thanks for the hint. I
will try to fix it.
Andreas
Hello Dirk,
I'm not awake since yesterday... I should take holidays. I did a mistake
as I explaned my problem. I do it once again:
I have a problem with the ClippingPlaneChunk. Here is an exemple of my SG:
Root
-> Node1
-> Node2
-> Node3
Quite simple...
I would like to clip each object with its own plane. I gave to the
material of Node1 a ClipPlaneChunkPtr, another one to the Material of
Node2, and so on. If I enable the ClipPlaneChunkPtr of Node1, only Node1
is being clipped.
That's what I wanted but if the ClipPlaneChunkPtr of Node1 and 2 are
enabled, the clipping plane of Node2 is not taken into account and Node1
and 2 are clipped with the ClipPlaneChunkPtr of Node1.
May I sen you the test code to [EMAIL PROTECTED] ?
Vincent
Dirk Reiners wrote:
Hi Vincent,
On Mon, 2005-04-11 at 15:52 +0200, Vincent Honnet wrote:
Hello,
I have a problem with the ClippingPlaneChunk. Here is an exemple of
my SG:
Root
-> Node1
-> Node2
-> Node3
Quite simple...
I would like to clip each object with its own plane. I gave to the
material of Node1 a ClipPlaneChunkPtr, another one to the Material of
Node2, and so on. If I enable the ClipPlaneChunkPtr of Node1, Node1
Node2 and Node3 are clipped but not only Node1. If the
ClipPlaneChunkPtr of Node2 is enabled and the other disabled, then
Node2 and 3 are clipped. If the ClipPlaneChunkPtr of Node1 and 2 are
enabled, the clipping plane of Node2 is not taken into account and
Node1 and 2 are clipped with the ClipPlaneChunkPtr of Node1.
Is it possible to clip only one object with a ClipPlaneChunkPtr ?
Yup, that should just work the way you're doing it. I looked at the
ClipPlaneChunk code, but couldn't see anything that would give your
effect.
Could you make an example similar to a tutorial that I could try?
Thanks
Dirk
--
Andreas Zieringer [EMAIL PROTECTED]
Fraunhofer IGD - A4 phone +49 (0)6151 155 289
Fraunhoferstr. 5 fax +49 (0)6151 155 196
D-64283 Darmstadt www.igd.fhg.de/www/igd-a4
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users