[Papervision3D] ASE model with different color materials?

jakelewis jakelewis at blueyonder.co.uk
Sat Jan 13 10:54:40 EST 2007


Sounds good Carlos.  Multiple materials per model is certainly the way to go
for a software renderer such as PV3D. Hardware renderers work a lot better
with single texture per model, as they sort for texture. PV3D has to sort
for distance anyway so cache misses due to texture change are always going
to be there.

I don't think we'll go far wrong if the internal organization is similar to
the Collada organization.

Jake
  -----Original Message-----
  From: Papervision3D-bounces at osflash.org
[mailto:Papervision3D-bounces at osflash.org]On Behalf Of Carlos Ulloa
  Sent: Friday, January 12, 2007 1:36 PM
  To: Papervision3D at osflash.org
  Subject: Re: [Papervision3D] ASE model with different color materials?


  Hey,

  I'm working on Collada MeshGroup import, with multiple objects and
multiple materials per object.

  To do it properly I have implemented transformation matrix on objects and
camera. The projection code has been rewritten to accommodate for this.
Objects and materials will also have names now, so you can refer to them
individually after importing.

  Parsing materials isn't immediate. To start with, I was thinking about
getting a list of materials so you can assign them manually.

  Afterwards, I want to move into full scene parsing, including cameras. The
goal is to be able to render a full animated scene, so there's a lot of work
still to do.

  C4RL05
  // noventaynueve.com
  // papervision3d.org




  On 12/01/07, Philippe Ajoux <philippe.ajoux at gmail.com> wrote:
    Carlos,

    I don't know to much about the specifics of the file formats.
    I do believe that .3DS file format lets you have different materials for
    different faces. I have coded a .3DS importer though I simple ignore the
material info
    at the moment. However, I will definitely look at that feature and work
on adding that
    support.

    -Phil



    On 1/12/07, Tim Knip < tim.knip at gmail.com> wrote:
      I suggest you export 'by material'...

      Don't know if that's possible with ASE though...
      If not you can always export to *.3DS which has an option 'by
material'....
      Philippe created a 3DS importer for PaperVision (see item about MD2
      elsewhere on this list).

      Hope this helps!

      Tim

      _______________________________________________
      Papervision3D mailing list
      Papervision3D at osflash.org
      http://osflash.org/mailman/listinfo/papervision3d_osflash.org





    --
      __   _   _   _   _
    | -- |  | |_| |  |_|  |  |
    |  _|  |  _  |  |  | |  |_
    |_|    |_| |_|  |_| |___|
    email: phil at d3s.net  | philippe.ajoux at gmail.com
    website: www.d3s.net
    _______________________________________________
    Papervision3D mailing list
    Papervision3D at osflash.org
    http://osflash.org/mailman/listinfo/papervision3d_osflash.org




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20070113/5fa0ce4b/attachment.htm


More information about the Papervision3D mailing list