dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [Papervision3D] Different textures on each side of a cube & how to add collada

Hybrid View

  1. #1
    Feeling adventurous? T1ger's Avatar
    Join Date
    Mar 2004
    Posts
    850

    [Papervision3D] Different textures on each side of a cube & how to add collada

    Been reading page up and page down about how to make things in papervision3D, but I cant find anywhere how to texture a cube with different textures on each side. Does anybody know how I do that?

    And how do I add a collada in the current version of pv3D? I downloaded the littleplanet source from http://aliveapps.wordpress.com/2007/...emo-in-breeze/ , but it wont work in the current version. I tried changing the addCollada to addChildren( new Collada(..., but it wont work.. Is there an updated example of this somewhere?

    Thanks in advance.
    T1ger
    I don't have a photograph, but you can have my footprints. They're upstairs in my socks.

  2. #2
    Student
    Join Date
    Apr 2001
    Location
    -
    Posts
    4,756
    dont have any knowledge yet of PV3d,- but regarding your cube you need to have a UV map on each face (or triangle pairs when working with a mesh instead of a poly). The UV map determines the Texture placement on 3d object.

    Do you have a 3d package or 3d tool installed to export collada files and or modify UV maps?

  3. #3
    Member
    Join Date
    Jul 2007
    Posts
    77
    http://kelvinluck.com/assets/papervision3d/cube_tweaks/

    to add a collada object

    collada = new Collada("myCollada.DAE");
    scene.addChild(collada);
    www.ugonna-nwosu.com
    If at first you don't succeed... Try not to look suprised.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center