requests

If you’d like to see an example of a specific topic, please leave a comment here.

  • Arindam Mojumder
    how can I add a sprite or MovieClip to this class. If I extends the BAsicView class and trying

    to add a Sprite
    like below method:

    ...... starting ......... public function FullScreenCube

    var sp:Sprite = new Sprite();
    scene.addChild(sp);

    I know it will work Properly if I use DisplayObject3d, but just want to know is there any way

    to
    add a Sprite or MovieClip dynamically to scene???

    I love pv3d but some time it hurt me a lot due to some unexpected code error. I just can't

    freely writing the code as like normal as3.0. I think in pv3d there are so many boundation.

    Please guide me. Actually I want to make an application like this links.

    http://www.citroen.co.uk/home/#/home/

    see the above links
    how can I create this kind of slider? If there is different sizes images? I have tried carousel

    method but facing problem to x,yrotation and z axis problem.

    Here is my demo link :http://www.demo.talash.net/~demo/design/ria-demo/downloadCenter/pv3d/
    Here is my source

    code:http://www.demo.talash.net/~demo/design/ria-demo/downloadCenter/pv3d/pv3d.zip

    Arindam [ arindam.mojumder@gmail.com ]
  • Mimosa123321
    i have found it for a long time, it's very great
  • Gmf532196
    just fresher come in
  • Athi Roy
    i am using flash builder 4 and Fms 3.
    i have conneted fms and to play the video file sucessfully.
    if the video contains any audio, i want to display in text what the
    person told in audio.
    For example see this link
    http://www.englishcentral.com/en/demo/10988/lil...
    i want do this same thing in flex
    pls help me
    regards
    athi
  • Arindam Mojumder
    you have to use cuepoint method.
  • Mark
    Great Tutorials, I seem to have a real problem with flash builder http service for connecting to my scripts for a member login through php a tutorial would be great.
  • Jaime
    A Cube with MovMateiral with input textfield and a SimpleButton responding the mouse events, like selecting input text field and simple button.
  • Mudasir
    Hi,
    Im facing a problem, is there a way to fill my bitmap to collada model at a point, for example i want to add a logo to my collada Model

    Thanx in Advance
    Mudassir
  • ram
    how to apply texture to an individual face in papervision 3d
  • Frank
    Hi, is it possible in papervision3d to nicely stretch a model? Sort of like scale9 for images but in 3D. I guess it would be scale27 then.. So let's say I have a model and I can divide it in 3 parts in every dimension, where the outer parts need to remain as is but the middle part is easy to stretch. I could then render the model with arbitrary dimensions and it would still look good. How would you do this with papervision?
  • kimpai
    hello, I'm trying to learn a little more about the matrix3D. Anybody know a way to know which side of the cube is facing the camera, through the matrix3D (like front, top, left....). I've seen this solution: http://forum.papervision3d.org/viewtopic.php?f=... but only works when the face is aligned with the axis and does not work when the faces have a different rotation despite being facing the camera. help?? Someone??
  • martin everett
    Also ment to say it would play music like a keyboard or the tenori-on like this http://lab.andre-michelle.com/tonematrix

    cheers
  • smashy
    try andres big wonder http://tinyurl.com/3642vs6
  • martin everett
    Im after a musical sphere/ball that you controll and rotate with the mouse cursor. maybe it could bounce aswell with music. Any ideas? cheers
  • Doug
    I am trying to draw a 'window' on a plane (which represents a wall); basically cut a hole in it to see through. I would like to see an example if it is even possible with pv3d.
  • marcelombc
    Flash player has a lot of CPU and Memory problems. Everyone knows its heavy and very slow, specially in old computers. If we optimize our code we could get a faster and more stable application. What i'm asking you is if you could publish documentation tips about how to optimize actionscript code. If possible publish some video tutorials about that. I will appreciate a lot and all flash community too.
  • jared
    you posted earlier about 'things every sr flash developer should know' - it would be good to go through that list and do tutorials on each of those listed, i think that would be a very valuable resource.
  • aaronwigington
    Hey John,
    I have a job opening for a company in Draper, Ut. they are looking for a Flash Action Script Developer for a contract. The last person we had sent there for a contract was brought on full time, and loves it. if you know anyone that would be interested, please send them my way Aaron@professionalrecruiterinc.com or give me a call at 801.327.9957
  • Anon
    Why not bring back AS2? Some people like living in the past, and not everyone has access to a fancy IDE or mainstream web browser.
  • Andrew Holdun
    I am sorry if I am redundant here. I am exporting a maya file for the first time to papervision using Maya2008 and am having extreme texture flipping issues. Can anyone give me some idea what I need to do or how I need to export to avoid this from happening...It's basically a cabinet with doors opening and it's just not looking good.
    Thanks so much!
  • @prince1709 I would say embed the font (not every one has a chinese font on his pc) and the use Text3D I would guess. (not tryed yet. Also new and expirimenting) http://papervision3d.googlecode.com/svn/trunk/a...
  • prince1709
    what's the easiest or most recommended way to make chinese characters on a cube(6 sides, 1 character on 1 side) 3D?
  • Peter
    I'm really interested in finding a tutorial on animating a Collada file, and possibly animating a Collada file in Augmented Reality (preferably with a voice). Is that doable?
  • Hi everyone,

    My name is Freddy and I've wasted nearly a month of my life on this place ;-) I found it after being recommended by a few friends who have been hanging out here for quite some time.

    I am a writer, graphics artist, photographer and just about anything else that comes up around the office. Aside from the above interests i'm really into scifi as I know that is so much more out there to be discovered, and a feeling that the universe is just teaming with life.

    Well, I hope that I get to know more people here, share some experience and start learning. Have a greay day!
  • Hi John,

    What is the best way to apply shading to a wall of images and create a spotlight effect?

    Would you apply shading to each image or is there a way to apply shading to the container of the images?
    Thanks
    Chris
  • Kenneth N
    Mr. John….
    I attended your RMI pv3d workshop in Chicago early this year…
    Great workshop btw.
    At the workshop you provided sample code/tutorials for us to study from; Unfortunately, my laptop that had all the tutorials from the workshop had been stolen from my apartment.
    I am now with a new computer and was wondering if there is anyway possible that I can gain access to those chicago pv3d sample code/tutorials.
    It will be a great help if some how those files could be accessible.
    Hope all is well.
    Thanks
    Kenneth N.
  • wyz
    Hi I'm a green hand,
    I have no website and I'm not be good at wording about English.
    please condone me about this.
    I'm trying to use "BasicView" in "UIComponent".
    But I canot adjust position of the view.
    The 3D view always at the center of screen,how can i let "BasicView" center about "UIComponet" with out the screen pixel change or UIComponet location change?
    can you save me?
  • Neca
    Sorry I was not clear enough, it`s about collision two different objects and one of them is child of a third object..
    thanks a lot
  • Neca
    Hi, John,
    I`m very new in pv3d and AS, can you please tell me( few words or line of code is enough), how should I do hitTestObject with the child of an object
  • Hello John,

    I am the Organizer of the DC Digital Animation Group in Washington DC. I have recently been dabbling around with Papervision. My colleague and I have been promoting Papervision and have been playing around with the tools to make an augmented reality demonstration in flash.

    I am very interested in seeing a Papervision training demo in the Washington DC Area. There are a number of web design studios and design firms in the area that I know would be interested in a Papervision training presentation.

    Please contact me.

    Thank you
  • What my thought is adobe should add papervision3D in flash and add Help in the F1 Key :)
  • Hi John,

    When i attempt to access a plane(extends for displayobject3d) 's width and height,but i find
    there is no interface.How can i access it?

    Also, When i lean a plane used change plane.transferm.n12 's value,How can i access it
    width and height again?

    Need you helps, Thanks!

    Best wishes!
  • 万安平
    I use pv3d in FLEX 3.4. But I get a plane to addEventListener(InteractiveScene3DEvent.OBJECT_CLICK,plane_objectClickHandler).
    When I click the plan. NO effect....... Please Help...
    I use PV3D 2.0
  • Hello!
    Fist, I want to say THANK YOU for your real hard work!
    You are the best! You have REALY great website! It is a treasure for me, and I think for a lot of people too. Here I find a lot of interesting and very useful stuff.
    But something I can’t find ;-). Can you make some real cool examples with PV3D and AS3MOD. I found some tuts here, but they are simple. I already know it.
    What I am looking for is a great inspiration, because deep inside I feel PV3D and AS3MOD can rock! But my imagination cant give me anything beside simple twists, bednds, …
    Can you help me with such a problem? )))
    If you haven’t got time to make tuts, you can give a link on such great examples?
    Thank you!
    I wish you happiness, luck, and money!
    PS: Sorry if my English not the best :-)
  • How would I parse the following XML in Flash CS4?
  • Marcio
    I’m looking for a freelancer to do a little flash job. I need a 3D ball ColorPicker.

    The ball never change your colour, it’s a colorpicker…

    The user will turn the ball and select some colour (drag and drop to turn and double click to select), the mouse scroll function like zoom in and zoom out. When he have select the colour, this colour its marked like selected in the ball (some mark than indicate than this point it’s marked).

    Get and Set methods:
    1. A javascript method to get the RGB selected colour (I will get the selected colour and save that in a BD, with other users informations)
    2. A javascript method to set a colour that will be marked (to load a colour saved before). In this set function, I will pass 2 parameters: the RGB colour to be marked and a id of some html div that will have the users informations inside it, so the ball will mark the RGB colour and put this div like a tooltip, like google earth that mark some point and put a tooltip (quick view) with the content of this point

    You DON’T have to do any web, form or database, just the flash object.

    Send me any question that you may have…
    =]

    Thanks a lot
    Marcio Maia
    Marciomaianunes@hotmail.com
  • Pan
    Hi John,

    I am having a hard time augmenting an imported collada file. Could you make a tutorial about this?

    Thanks,
    Pan
  • Pan
    Hi John,

    Great work and thank you. I am also glad to hear that you have found employment.

    I was wondering if you would be able to post a tutorial on how to do what the GE AR has done (importing a model and adding functionality to the augmented model). Right now I am coding in actionscript and I am using Blender to make models for augmented reality.

    Thank you very much,
    Pan
  • I would love to see a pv3d "lite" version, where you just can move and rotate in 3d space. little choice of primites etc.. for use in banners.

    slimmed down camera and render engine. no materials or lights, just textures.

    to get down to 20kb-ish would be sweet.! :D

    Why? so I can use it for banners. :)
  • Raymond
    Use papervision3D and the vertex3D or pixel3D classes to generate a contour map. This would be nice for data visualization.
  • Marco
    Hi John,

    impressive work. I stumpled over the cumulus project and the implementation in flex and really liked it.
    ttp://carvalhar.com/#/en/blog/183/flex-cumulus-tag-cloud/
    I tried to enhance the cumulus with bidirectional relations (e.g. arrows) by using Papervision3D, but don't get there. Would you do consulting on this issue? We are working on a free interaction checking service for medication.

    Cheers Marco
  • Johannes
    Show us how to implement dynamic bsp trees in Papervision as the Alternativa engine does in the following demo: http://blog.alternativaplatform.com/en/2007/12/...
  • Al
    Hi there

    I would love to know how to have the sliced cube effect as a transition effect in a viewstack in Flex.

    Any help?

    Thanks in advance
  • Hey man, good tutorials here. I've referenced them in the past. I work with coding as3/papervision3d and using the TUIO multitouch library on multitouch interactive tables similar to the Microsoft Surface.
    The TUIO library uses TouchEvents, which are the same thing as MouseEvents for it's objects interactions, which dont translate to InteractiveScene3DEvents, so it is hard to interact with objects created in PV3D. I have kinda gotten around this my applying materials with buttons on them to the 3D objects, which then have TouchEvents on them, but it is a long and tedious process.
    My request::
    I was wondering if you know of a way to make a 3D object by itself interactive using the MouseEvents and not the InteractiveScene3DEvents. Please let me know, thanks!
    -Nolan
  • Felipe
    I´m doing some testings with Augmented Reality, and noticed that when the marker is out of camera´s sight, the object is still visible. Could you please post an example on how to make the 3d object to desapear/animate when the marker moves out of the camera?

    Thanks a lot
  • mac
  • 靠!全是英文.!
  • Dan Lines
    Hi John,

    Thanks for the time that you have put into your tutorials...I have been learning on the fly from your posts. I am currently working on using PV3D with Flex Charts. I am able to add a Flex Bar Chart to a PV Cube and it looks great. My issue is with the chart datatips that appear on hover. The datatips do not position correctly next to the corresponding bar. I am wondering if you have experienced this problem? I also have the source if you would be willing to give it a look. Thanks.

    - DL
  • Matt
    Hi John,

    I'm trying to replace the material on specific faces of a DAE depending on their y values. I'm using a similar setup as the one in your example of the holy sphere, but it appears that the geometry object of the DAE is null. The object is visible, and the algorithm works on PV3D's primitives. I just can't figure out how to access the faces. Any advice is greatly appreciated.

    -Matt
  • Stanley
    Dear John
    I used 3dsMax to create two objects: car1 and car2. And then export to .dae files (car1.dae & car2.dae). Now I put them in Flex by used PV3D. The scenario is that when car1 collide with car2, the color of car1 will change. So I used the “hitTestObject”. But I found the “hitTestObject” just check the center of the coordinates which in the 3dsMax not check the bounding sphere. If I want to achieve my purpose how can I do? (If use PV3D can do this?)
  • Hello John!

    I would like to know if it's even possible to apply segments to VectorShape3D object?
  • Carsten
    Hi John,

    i would like to see how to structure code, to be able to switch ("transition") between two different "rooms". I.e. i have a room with different doors and each door leads in a different room.

    Thanks for your great work, i´m learning so much from you.
    Greetings from germany :)

    Carsten
  • Mat
    I'm very curious to see how to correct design patterns with Papervision. Also for the life of me I cant work out how to import Vector (svg) artwork.

    Thanks for this blog.

    {m}
  • Yogesh
    I would like to see some examples of using the "InteractiveSceneManager" and event propagation in PV3D...thanks in advance.
  • James
    I notice there are a lot of pv3d apps that have a little window to the top left (of course it could be oriented anywhere) that displays the memory used and the amount of faces and such being displayed. I know how to get the system memory, but could you shed some light on some typical information displayed, what it means, and how to get it?
  • sir
    I would like to know how to load and rotate a 3d model with clickable hot spots like this: http://channel.nationalgeographic.com/channel/c...
  • John DeBeer
    I would like to see an example of a 3D scatterplot with a regression plane in a Cartesion framework.
  • diego
    Bonjour John,
    I'd love to know if is possible to use tweenLite with moveForward();
    tweenLite.to(mc, 1,{moveForward(20)?????});

    Merci!
    PS:(sorry to post in the wrong place before)
  • I would like to know if there's a way to sort a Collada and another non primitive DisplayObject3D in a similar way than primitives can do, using viewportLayers.

    sorry for my english and thank you for this incredibly useful blog
  • hud
    hi john,
    i followed your box2dflash part 3 example and change the boxes to ragdolls (from box2dflash file example) but it is been unsuccessful. in the debugdraw the 2d object shows exactly how it should look like but the 3d object look like it been cramp together.well my request is can u show an example how to make a proper 3d ragdolls?

    thanks
  • Hello John,
    Thank you for putting up nice sample always. just wonder if it is possible to do tween guide with papervision...

    thx so much.
    mochi
  • mike
    id love to see an example of how to create a cube and then 'open' the cube by laying down the sides of the cube flat like paper almost like origami...
  • Hey

    I am trying to make the iphone labyrinth with PV3D and jiglib.
    http://labyrinth.codify.se/

    i have a problem, i want to make a floor and four walls around it. And i want this to rotate all these walls respect to one point. how do i do this using jiglib and pv3d. i know i have to use jconstraintpoint, but it’s not working for me :( please help me.

    Thnaks
  • ookla
    some dice would be nice! like "get the glass" webgame, with physics
  • water
    hello John Lindquist
    can you teach us the class of Matrix3D.
    the difference calculateMultiply and calculateMultiply3x3
    thanks
  • Nascif Abousalh-Neto
    Hi John,
    First of all, thanks for taking the time to share with us these great examples.

    I would love to see an example of an hyperbolic display using PV3D, along the lines of Walrus. I believe the graph viewing part would be straightforward, but adding the hyperbolic distortion on top of it would make it much more challenging. Also not sure if all the primitives available in Java3D are also available in PV3D - maybe this would make a great example for a transition tutorial?

    Thanks,
    Nascif
    http://www.caida.org/tools/visualization/walrus/ perhaps more
  • keyriest
    I see I'm not alone in my hunt for a thorough explanation detailing how to add standard flash/flex components (mx.controls.Button) to a panel at runtime, most importantly *without* referring to an mxml component already on the stage (). Say I want to create 50 panels and add a Button and a Label to each Panel, I can't seem to figure out what's required. I've tried creating MovieClips, adding the Button to the MovieClip and then wrapping the MC in a MovieMaterial, but that's not working. Is this even possible?
  • ricardo
    Hi,

    Using your "Looking around the inside of a Sphere" sample how can I limit the looking area?

    Cheers
  • Ghislain
    Hello John,

    got a question for you, is it possible to create a carousel like this : http://dev.bigyouth.fr/papervision3d/calagebull... keeping the perspective the same even dureing the rotationY ... I 've tried somethings but i didn't succed in doing it : http://dev.bigyouth.fr/papervision3d/index.swf

    Thanks for your help !!!
  • Hi I have been trying to do the Happy New Year tutorial but have it work with the FlarToolKit, I am stuck with it would love to see some examples with FlarToolkit there is a lot of source code out there but noting that explains it well and is more then a cube.
    Thanks
  • reld
    Please ignore my last post!
    It turned out that the problem was the geometry itself!! :)
    everything is working like a charm now!
    thank you for sharing your knowledge with us!
    cheers!
    R.
  • reld
    Hey John! respect for your mind! :)
    I integrated the free quaternion free rotation example in a project I'm developing right now.
    Everything works great and for the first time in my life I'm loving matrixes ;)

    I noticed one thing though and it is that the rotation stuck very often and it is not fluid. I'm pretty sure that the problem is because I'm using a collada object and not a sphere! and my guess is that the ray does not hit some part of the mesh causing this stockiness :(

    I tried using a invisible sphere and the passing the values of the transforms of the sphere to my object using copy3x3... the problem persists. :(

    Is there a way to take the values of the transform of the sphere (which fluidly rotates ) to normal rotationX ,Y, Z values? so I can use normal rotations on my collada object? or is there some thing I have to alter in order to have my object rotate fluidly? some special settings for non primitive objects and quaternions??

    many many thanks
    greetings
    R.
  • Canfan86
    Great Website with fine tutorials!
    I´m searching for a tutorial about clickable DAE objects. I´ve only found tutorials about clickable primitives, but it´s not the same with DAE objects. I have a DAE file exported from 3D Studio Max which contains several objects with textures. Each object should be clickable. I want to use it for navigation on my website.
    (Sorry for my English. I´m from Germany)
    Thanks
    Manuel
  • Is it possible to keep Mouse Events once a shader has been applied to a MovieMaterial? I applied the shader and my mouse events stopped working.
  • Forest
    I like this blog,I Will come here everyday!
  • what resources/books/sites do you recommend for beginners in Papervision
  • Hello, Check this:
    http://www.ubi.com/US/default.aspx

    I need to make that Menu in 3D, exactly the same thing, plis if you can guide me God will pay you.

    PD: my english isn't perfect, sorry but i did my best
  • ctct
    I want a simple tutorial to make a full website like some of the PV3D website alive now. I am new and it will be nice if you let say get a tutorial with title "build a simple web like www.xxxx.com
  • yukimi
    How do I load swf as an object just like any other primitives e.g. sphere, cube? Using loader?
  • yukimi
    Hi, I'm using flash cs3 and papervision3d. I have a sphere with a movieclip as texture. Inside this movieclip, there's another movieclip that act as a button. Upon clicking this button, a swf file will be loaded. But why the swf file loads as if it is part of the sphere's texture? How can I make it appear as a "pop-up" above this sphere?

    Secondly, I need to get an image string from a xml file and use it as Plane's texture. I noticed that in order to load xml, the class have to extends MovieClip (else, there's error), but how to add Plane to MovieClip?

    Please help. Thanks.
  • haitao
    hello,I wang to add Flex UIComponent(button,panel) in PV3D, i don't know how to do.
    could you help me?
  • sagoo
    Is there any property of reflection view by which we can make the reflection of a Image wall fall on the "PERPENDICULAR PLANE" to the wall.
  • sagoo
    an example of nice image gallery in which the reflection will fall on a perpendicular plane to the image
  • Esben
    Hi, thank you for all this, it is very inspirational. I am just getting into Flex/Papervision and am following this tutorial on Youtube ( http://www.youtube.com/watch?v=sgFWaGheR6g ). I am having problems finding the code that is being used in the example though (screendump: http://farm4.static.flickr.com/3336/3307359432_... ). Can you tell me if this code is available still?
    Thanks,
    Esben
  • malte
    a MVC example with Papervision would be nice....
  • chris
    First of all, really great site, great examples.
    I also would like to see some explanation on matrices and quaternions.
  • Bearcat44
    @ Ruby and the Question on "How to use text input in papervision" (CS3 & Papervision 2.0 GW)

    I've been sitting on this problem for the last 10 hours and was just about to give up and beg John to give us some kind of tutorial. :P

    Anyway, thanks to the great WWW I found the solution to my/your problem:

    - Take a text input - component, put it inside a movieclip and map it as a material (interactive=true) on a plane or something similar. Embed the font for better text quality later on.
    - Add a mouseclick-eventlistener to the textfield and put the following into its function:
    - stage.focus = myFreakingTextInputIOweYou;

    The last line was all I needed for my text input to work. Hope that helps...

    ...and thx for this great homepage. Keep up the good work. I'll be looking forward to the new forum. :P

    Bearcat44
  • Cam
    I'd like to find out how to create materials for human faces and body parts
  • Ben
    Hi John,
    I love your tutorials/examples. They are the easiest to follow and have allowed me to understand Papervision3D.

    When I was at Uni I worked in Director and Shockwave. At that time 3D Director was the new thing. There was a book called Lingo Sorcery in which there was a cool tutorial about using a projected ray to deform the mesh of the objects you hit with it. The ray was shot by the mouse and you could sculpt things.
    I build an art piece on it which I rediscovered and uploaded here:

    http://www.yoroshiku.tv/sites/default/files/por...

    (space, return, backspace + click all do something. Also shift is free view)

    I would love to see how you could do this in PaperVision3D as I can barely remember my director skills.

    Thanks!
  • lisa mercedes
    We need the source .fla and classes for the Stacked Planes example...thanks if you can post them...


    x lisa x
  • Bobby
    Can we an example of a one person roaming environment?
  • I come from China.When I read the pv3d,I find it wonderful!
  • Derek
    oops "sample"... :)
  • Derek
    I would love to see a samole using 3D sprites ( 2D bitmaps in 3D space, always facing towards the viewer)

    Thanks!
  • Jose
    is there any video tutorial that explains how interfaces work?
  • Jacko
    I dont really understand how Flex work like Flash does, I having trouble linking the actionscript with the FLA.

    is there any basic guideline for it perhaps?
  • Hey guys, the entries are in for the MAD VERTICES Papervision 3D Contest #1 : Soccer

    Check it out here: http://madvertices.yuku.com/topic/17

    Please vote for your favorite!
  • xPINKMERCEDESx
    we need tutorials on this type of effect. Can't get one anywhere. Some places are seliing the effects with the flash file but they are no efficient enough for me...I would buy it if i can find a good one, but I rather a real tutorial of this effect:


    http://www.flashden.net/item/gallery-flash-v7-3...
  • Matt Newell
    Oops, I have no ideal how I missed this but...http://pv3d.org/2008/11/29/adding-a-basicview-to-a-flex-uicomponent/

    Thanks John you is the Man!
  • Matt Newell
    I'm trying to create a basic pv3d class (LOL basic) that extends the UIComponent for Flex. Unfortunately my pv3d skills are nowhere near as impressive as John's. I would love to see an example using BasicView and BasicRenderEngine wrapped up for Flex goodness.

    Thanks
  • Daniele Fornaciari
    UPDATE:
    For now I solved in this way:
    in MovieMaterial.as I hadded a property:

    public var cachedMaterial:Boolean = false;

    and in updateBeforeRender method I replaced:

    materialIsUsed = false;

    with this:

    if (!cachedMaterial)
    materialIsUsed = false;

    I don't know at this time this has side-effect.

    Pheraps it can solve Iusse 155 on code.google.com
  • Daniele Fornaciari
    Hi,
    I'm tring to write a game with Papervision + WOW Engine + WiiMote... I think it's an interesting funny game... but some daies ago a found great problem with FPS (only 5) so I buy the course: http://online.richmediainstitute.com/course/vie.... It's really Interesting!!!
    So the first thinks was subdivide in 2 viewport:
    The fix viewport that render the scene that contain all object that not move... and
    The main viewport where I put all other.
    FPS now is 23.... GREAT!!!
    But, now I have another problem:
    For shadow I use ShadowCaster Class... and I have 2 Plane for shadow, 2 shadowcaster object.
    1 Plane in the Fix Scene and other in main scene... but if i don't re-render the fix viewport I cannot view shadow in fixviewport...
    Any suggest?

    Thanks
  • Hi John - I looked at the spectrum analyzer example and it has shown the way and the truth very clearly. Though I must thank you again. This site is basically the best documentation for PV3D there is!
  • Hey i have a question on using jiglib and PV3D.
    Have a look at this pool table i made. I took the example from the jiglib website and modified it to make this pool table.

    The problem is some times the balls on the table jump out even though i have a wall around it(the wall is 500 height so its definitely not going over the wall). could you please help me with this?

    you can find the code at
    http://www.thivy.com/blog/index.php/archive/jig...
  • Jim W.
    Thank you for this rosetta stone of pv3d information!
    and...here's a request: How does one adjust or create a new pivot point for a D03D? It seems at one time one could use a DO3D as a (parented) pivot container for another D03D but that functionality seems to be gone. Here's an example of what i'm talking about (done in an earlier version of pv3d): http://analogdesign.ch/blog/index.php/archive/p...
  • @Siroko - I don't fully understand your question of vectors in vectorvision vs pv3d.
    @Ruby - I've seen a lot of questions about using various components in pv3d, I'll try and throw something together this week.
    @Max - any vectors in materials will be converted into bitmaps. I recommend using the trick where you overlay the vector material once the pv3d object has come to use.
    @Kyle - I'll keep that idea on my todo list.
    @psych - so is a mask on a regular movieMaterial not working?
    @Ruby - yeah, I'll do an interactive vectorvision example this week.
    @blackmeoo - I have a DAE with a material on the blog. Is there a particular problem you're having?
    @Jeramy - If you need to use Quaternions, then you should spend the time understanding how to control axes and rotations. For example, rotationY is just a way to define rotations around the up axis.
    @Villmer - Do you have an example or screenshot or something? I'm not too familiar with the problem you're explaining.
    @Steve - The sound spectrum example demonstrates that pretty well. I can throw something together a little simpler.
  • Hi John - just want to say a huge thankyou for these demos and tutorials. Its really the best source of coherent information on the net. Like "ribs" I found it very frustrating that there were a lot of examples floating about that used PV 1.5 then you try something else and it required 2.0. I have migrated the work I've been doing to PV2, and am struggling to get a handle on the implementation of effects, so anything further you can proffer in terms of showing independent effects on different DisplayObjects would be very welcome indeed. In particular, I'm trying to create a motion trail with a ColorTransform applied to the effect layer as per http://www.g-raff.com/daa/ (that's in 1.5, using a draw() method on the whole container) but just can't seem to find a way to do it.

    Thanks again for your excellent resources.

    Steve J
  • John,

    I've been spending some time lately incorporating Collada .dae objects into Lucid Viewer. I've been seeing, however, that at certain angles the textures break apart. I vaguely recall something to fix this very thing. Any tips on what that would be? The project is at http://www.lucid.it. You can see the Collada .dae demonstration there as well.
  • I would like to understand how to translate Quaternion rotation into X,Y, and Z rotation. Using transform works great, but papervision has no record of what rotation has been applied. I don't understand Quaternions well enough to base the rest of my application of them. So if there was a way to convert to a little more digestible rotation that would be awesome
  • Please help me with load and show DAE with material,check this:
    http://dl.getdropbox.com/u/392339/ShowRoom/Show... is invisible when move close to...
  • Ruby
    Hi John! Please make a short example on how to interact with vectorvision text!

    Thanks in advance!
  • psych
    Hi John,

    If it's not too much of a hassle for you John, can you make an example on masking cube's face. Let's say MovieMaterial is applied as cube's front face and we want to do a simple masking on that face.

    thanks,
    best regards
  • Kyle
    Hi John,

    I've been thinking about the tutorial you created on changing the color of each face on a sphere. Would you be able to show how to possibly explode the sphere into all of the triangles that make it up?

    Thanks!
  • Max
    Hi there,

    im pretty new to pv3d, im just wondering, is it possible to apply a vector material onto a cube?
    basically i have created faces with designs for the cube, and i want it to be vector because its gonna scale up later, and i don't want pixalation in my card.

    please advise... thanks in advance!! =)
  • Ruby
    Hi psych!

    Please check this:

    http://papervision3d.googlecode.com/svn/trunk/a...

    Is it what you are thinking about?
  • Hey John,
    Just wanted to post a link to a contest I've going going on at the MadVertices forum.

    Electric Rain is sponsoring it and it would be a fun, educational way for folks to participate in a community challenge and maybe win a small prize in the process.

    Contest details are here: http://madvertices.yuku.com/topic/11/master/1/?...
  • psych
    @Ruby: I guess you can just use TextInput component from Flash, put it inside a MovieClip or Sprite and map it for example as material on a PV3D plane or smth depending on your needs.
  • Ruby
    Hi!

    How can I use text input in Papervision?
  • Thank u John, another question is, why vectors in vectorvision works better than vectors inside papervision? Papervision has some bugs vectorvision doesn´t, im rendering complicated paths and only still working properly with vectorvision packages at stage low quality. When i compile with the last papervision version, the vectors are making some stange noise...
  • thanks for this valuable resource!

    hmm.. I'd like to learn the different tricks and formulas on manipulating the camera.. like orbiting around a point, moving in and out, first-person view, etc..
  • John Lindquist
    @Siroko - Vectors in Papervision3D don't currently work with the QuadrantRenderEngine. It's being worked on.
  • psych
    Is it possible to dynamically resize Cube primitve after it's been created? For example, if i create a simple 200px cube like this:

    cube = new Cube(materials,200,10,200,4,4,4));

    And let's say afterwards i would like to dynamically resize it to a 400px, is this possible and if so how?

    P.S. Wish you all the best in New Year!

    thanks a lot,
    best regards
  • How can i use the QuadrantRenderEngine with Zsort capabilities with vectorShapes ??
  • karlmaier
    thanx for the vectorvsion3d christmas gift..looking forward for more stuff like this.
    greets from austria
    karlmaier
  • psych
    Hi,

    I'd like to see how can cube's front face for example (or any other for that matter) can be changed dynamically upon runtime if the face is MovieMaterial?

    I tried with the following but no luck:

    cube.replaceMaterialByName(new MovieMaterial(my_mc), "front");
  • I mean:i have a cube,and i want to check when the front face is collision with a plane
  • John Lindquist
    @hud - Any sort of "dancing paper men" would be designed in 3d modeling software, exported as collada, then loaded into pv3d. I may get around to doing modeling tutorials, but it's not high on my list.

    @blackmeoo - Can you elaborate a little more?

    @Aravind CS- I'm not familiar with "touchflow 3d". Do you have a link with a demo?

    @karlmaier - I try and get out some more VectorVision examples soon.
  • karlmaier
    thanx for vectorvision3d doc update.
  • Aravind CS
    hai..

    flash fx like the HTC touchflow 3d
  • Just noticed it didn't include the code I posted as well? Hmm, John if you send me your email address again I'll send you the code and a screenshot of the issue.
  • The following code causes the error. As you can see it is only a canvas set to 100% height and width yet upon resizing it I often see the bottom of the canvas not correctly stretch to meet the bottom of the application space:
  • Can U show me how to check collision between specified face of Cube with a plane? Thank U so much,dear
  • hud
    i really want to see how to do multiple dancing paper man with custom faces/heads.

    thanks
  • John Lindquist
    @Villmer - can you e-mail me some sample code demonstrating the problem?
  • I'm seeing a strange effect when using a canvas in Flex. I'm setting the canvas to 100% width and 100% height yet upon resizing I often see the bottom of the canvas not resizing properly. I tried setting an additional event listener to resize the canvas to upon resizing the browser window but it still continues. Any thoughts? I'm using this canvas container for my Basicview as well.
  • karlmaier
    hey john..

    it would be great to have another example for vectorvision3d..maybe something with changing size, border, colour etc..that would be great..and when do you think the doc for vectorvision will be online ?
    thanx again for your examples

    peace
  • I would love to see an example of adding light to a scene with normal 3D objects (with moviematerials, bitmapmaterials etc) - if it's possible! So far I have only seen light on single colored objects!
  • Or perhaps Flint is not required? ... Am I missing some other better or easier to implement particle systems somewhere?
  • In this case I am trying to make a snowball trail..for a xmas e-card game..

    I tried basing the snowball on the "Comet" demo but couldn't change the colour of the fire effect except to blue.. and of course I was after a white trail..

    For many future ideas, explosions, smoke etc.. It would be great to gain control over the position and rotation of a Flint Emitter within PV3D and be able to parent the emitter to an object.
  • John Lindquist
    @Holland - You don't *need* Flint to make a comet tail. Is that all you're looking for?
  • I have found some easier examples to integrate Flint particles into Papervision:

    http://flint-particle-system.googlecode.com/fil...

    But I am having trouble making an Emitter3D follow a 3D object, to achieve for example a comet tail.
  • Thanks for all your hard work on this great resource.

    I would love to know how to integrate Flint particles into PV3D. There is a tutorial here: http://www.surfnlearn.com/tutorial_out/2245/Pap...

    But this is too complicated to easily extract the relevant code and uses Flex stuff which make the SWF a little large...

    Is there any chance of an AS project using Flint and PV3D? hope hope :)

    Holland Risley
  • Ruby
    Hi John! Yes, it will be going. My aim is to create a 3D world, in which user can drag and drop windows (planes). Similar to this great example: http://pv3d.org/2008/12/09/dragging-spheres/ but with planes looking towards the camera constantly with some kind of rotation. (The camera do not have to move.) Thank you for this amazing site! Ruby
  • John Lindquist
    @Ruby - What kind of movement? Will it be going behind other 3d objects?
  • Ruby
    Hi all! I need a moving plane in 3D, which looks towards the camera constantly, so you can see it undistorted. I've tried with Math.atan() function with little success. Could someone please give me some instruction or source code?

    Thanks in advance

    Ruby
  • Icek
    Thank you very much. I'm waiting impatiently for this post :)
  • John Lindquist
    @Icek - That's an interesting discussion that requires more than a one-line answer here. I'll put it on my todo list to write a post about it.
  • Icek
    For this concrete problem it is very good solution, but imagine that camera start rotating... I mean many times I need to access camera or viewport (e.g. to create ViewportLayers or to calculate distance from camera, etc.). In Adobe's 2D, each Sprite added to stage, got access to it via stage property. In Papervision DisplayObject3D don't have access to stage, scene or view... My quesion is how to write bigger projects when access like this is needed?
  • John Lindquist
    @Icek - once the cutout has rotated, could you possibly place a regular movieclip that matches in size, etc on top of the cutout?


    It's best practice, if nothing is moving, to place regular flash assets on top of a Papervision3D viewport and interact with those.
  • Icek
    Hi.

    page is a Plane, inside page there is another Plane - cutout. When book is open on requested page, cutouts rotate 60 degrees that are faced to camera. On one of them there is scrolled text. UIScrollbar doesn't work at all, so i write myself another - very simple scrollbar with startDrag() and stuff like that, but there is another problem - this cutout is not in 1:1 proportion with screen, so Mouse.y i not Cutout.y and drag is delayed. Now i need to convert Mouse.y to Cutout.y (camera for now is not rotating, it could change), to do this i need access to stage, camera and viewport (or my current BasicView) from scrollbar inside cutout.
  • John Lindquist
    @Icek - I imagine the page is a Plane. Are the objects in the page 2d or 3d?
  • Icek
    Hi, how to access stage, viewport and camera from within do3d?
    Do I need to do everything inside BasicView/IView?

    My problem is: I created do3d named Book. Inside Book, there are several BookPages (also do3d), and inside BookPages i got another do3d, and inside this do3d i want to do some dragging actions. Now I need to transmit variables (stage, viewport and camera) via each do3d constructor, but i think, that this method sucks. Other way is to use Singleton as Variable Locator, but this also doesn’t sound good.
    So, how to do this?

    PS. Sorry for my bad english.
  • Jim
    @John, Nice idea, I hadn't thought of that. Unfortunately I don't think it's going to work for me in this instance. The number of planes in the array vary in length given that the data is different each time, so a material swap would give me a null object error. I have managed to successfully create the varying length Plane arrays using new data resulting from a button click, it's the existing DisplayObject3D I'm having trouble removing. The ZERO function on DisplayObject3D doesn't seem to do what I need it to.
    BTW I found a really cool simple way of swapping materials on any 3D object using MoiveMaterial your solution just makes this even easier now with BitmapMaterial.
  • villmer
    Another consolidated overview on materials would be nice.
  • John Lindquist
    @Jim - Have you tried simply swapping the materials?


    plane.material = myNewBitmapMaterial;
  • Jim
    @John, Thanks for your reply. From it I think I'm having problems distinguishing the difference of between Scene and Viewport. Simply put I'm trying to create a gallery populated with images from an xml file. My understanding is that once I've got material is loaded it needs to be converted to BitmapFileMaterial then added to a Plane. If I want more than one Image to be displayed in the Scene then I need to create an Array of Planes and add them to a DisplayObject3D and put this into the scene. All this works fine. Now if I want to start the process again with a different selection of images either parsed or loaded differently then how do I clear the existing data/images? Removing and adding the DisplayObject3D simply keeps the existing images.
  • John Lindquist
    @Jim -ViewportLayers have nothing to do with asset management. Can you simplify your request a bit? Is there one specific trouble you're having with adding and removing assets?
  • Jim
    Hey John,
    Great to see a flood of new examples coming thorough and a brilliant explanation of BasicView which I had problems with months ago. I'm still on the lookout for a good example of how to manage assets simply within a project. I have an array of planes populated with BitmapFileMaterial from an xml file and I'm finding clearing the array is not enough. I've tried removing and adding the DisplayObject3D but it just brings in the same images again. Perhaps there is a tutorial on using viewport layers needed?
  • karlmaier
    hey john

    many thanx for the sound example,
    looks cool..now its time for me to study the code..:-)
    peace
  • karlmaier
    hello john,

    thanx for all your examples...this shoud had been done for a long time..
    good tutorials and easy to understand..and also gives me a better understanding for all the different possibilities with pv3d..
    please don't stop...
    the only wish i still have is an example for sounds and papervision3D playing together.. ....maybe using the popforge class??....that would be great...anyway...great work..
    peace..
    karlmaier
  • John, you are teaching for all of us.
    I access all day and never disappointed me!
    Excelent work. I appreciate!

    Regards from Brazil.
  • John Lindquist
    Garbage collection (in the latest update) should manage itself just as well as plain as3 does (which I know isn't very good :/). If you do find a memory leak, please report your findings to:

    http://code.google.com/p/papervision3d/issues/list
  • Thanks for your line example it was exactly what i was trying to do!

    This might be an open ended question but is there a workflow to do proper garbage collection in papervision? I have collada's, textures, event listeners, primitives, scenes, viewports, etc. and i want to free up memory.

    thanks again
  • Villmer
    Things are going well. Decided to migrate to Flex recently so I'm familiarizing myself with the new workflow. Again, great to see pv3d.org back to the original format. Simple is better. Keep up the fantastic work.
  • John Lindquist
    @Jason - Thanks, it's good to see you around. How's lucidviewer progessing?

    @Oliver - I have some plans for collada examples, I just need to get a modeling program set up on my computer (I just reformatted when I installed CS4).
  • Oliver
    I’d love to see how to control a complete scene exported as collada from Cinema 4D.And I’d love to see how to control a character exported as collada...is this possible with papervision ?
  • Great to see the old pv3d.org structure has returned. Your capacity to develop these diverse tutorials in such a short time is outstanding John.

    Jason
  • Ribs
    I'm making some progress John! Like Marco said, Thanks very much! In case anyone else comes across the troubles I had, I just wanted to mention that removing any reference to headerContainer() in the classes allowed them all to work just fine in Flash CS3. Its finally starting to makes sense!!! Thx!
  • John Lindquist
    @Marco - Thanks. I appreciate the compliment :)
  • Marco
    Awesome job on these examples John.
  • John Lindquist
    @ribs - The first Q&A; in the FAQ shows you how to use these examples.
  • ribs
    I'd love to see one single example anywhere on the whole world wide web that actually works when you follow the tutorial! Can anyone here please explain to me why nothing works? How can anyone learn this stuff when the simplest examples can't be duplicated? I realize that some examples require 1.5 and some require 2.0, but as far as I can tell these here are supposed to work with 2.0, which I have. I can't even get the WaitingForAnImageToLoad example to work, even though I have copied it right from the source. I keep getting an error that says it can't load the file. I've even replaced the url with a path to an image on my own server. Every single example I've tried anywhere generates an error of some kind. This is driving me mad. can someone please give me some helpful advice? :(
  • Strider
    I'd Love to see a simple, but functional way to apply a cellshader to a Collada file.
  • zhaohongri
    I'd love to see how to use Quaternion to rotation object by any axis,and give some docs about matrix and Quaternion
  • I'd love to see how you can draw a line in 3d space that connects 2 moving 3d coordinates with no memory leaks.
blog comments powered by Disqus

Search

Recommended Books

Speaking at FITC Toronto

Recent Comments

 

July 2010
M T W T F S S
« May    
 1234
567891011
12131415161718
19202122232425
262728293031  

Preferred Video Tutorial Resolution

  • 1024x768 (53%, 85 Votes)
  • 1280x1024 (15%, 24 Votes)
  • 1920x1080 (15%, 24 Votes)
  • 800x600 (13%, 20 Votes)
  • 480x320 (4%, 6 Votes)
  • 640x480 (0%, 2 Votes)

Total Voters: 160

Loading ... Loading ...