Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Papervision3D

New Here ,
May 12, 2013 May 12, 2013

Hi

I want to share some problem which I can't predict. Please help me out.

see the image below,

you see the cube in which there are three planes, see the yellow plane where I circular marked the area i want to clip, I want to clip(delete) the area which is outside of cube. So, is it possible to do with papervision? Anything?? Please help me out.

Thanks & Regards

tarryize screeshot.JPG

TOPICS
ActionScript
713
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 12, 2013 May 12, 2013

Hi,

    Not clear about how you created the object. Are you created the cube inside papervision3D using code, Or are you imported the object from some modeling software?

Anyway try using some masking technique so that you can mask the area that you don't want to show.

Arun V

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 18, 2013 May 18, 2013

Hi

Thanks for the reply, I have used a  default cube of papervision3d and I add some planes inside the cube, I don't understand how to mask the papervision cube so that outer area of planes should not visible because cube is not static, it has rotation also. So, please tell me some way to sort out this problem

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 21, 2013 May 21, 2013
LATEST

Hi,

    You can use the normal mask that you used in the AS3.But for masking you need to load some other objects to the scene

then use:

myLayer1 = viewport.getChildLayer(myobject1);

myLayer2 = viewport.getChildLayer(myobject2);

and then mask it by

myLayer1.mask = myLayer2;

I can't find any example for papervision3D masking. Hope you know its a dead project

http://wiki.flare3d.com/index.php?title=3D_Mask

In the abouve link you can find an example for masking in Flare3D engine.

Hope this helps!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines