[Papervision3D] hello geoSphere

Paper World worldofpaper at googlemail.com
Fri Feb 23 06:51:52 EST 2007


John, have you seen this? Ron, PaperWorld needs YOU!

On 2/23/07, Ron Valstar <ron at sjeiti.com> wrote:
>
>  yes I have... but I've never been good at jigsaw puzzles::
> http://sjeiti.com/test/pv3d/helloworld2.html
> I'll get there eventually... (maybe I should cut down on the caffeine)
>
>
>
> Carlos Ulloa wrote:
>
> That would be great, Ron.
>
> Have you thought about adding spherical uv mapping?
>
> Thanks,
>
> C4RL05
> // noventaynueve.com
> // papervision3d.org
>
>
> On 23/02/07, Ron Valstar <ron at sjeiti.com> wrote:
> >
> > I can optimize the code and poor it into a
> > org.papervision3d.objects.Sphere class if you wish (taking the Plane
> > class as blueprint for structure/notation).
> >
> >
> > Carlos Ulloa wrote:
> >
> > Very nice sphere primitive. Excellent job. I knew Trevor would love it
> > :)
> >
> > Since MaterialObject3D is just a base class, it's not in the materials
> > package but in core.proto, just import it from there.
> >
> > C4RL05
> > // noventaynueve.com
> > // papervision3d.org
> >
> >
> > On 22/02/07, Ron Valstar <ron at sjeiti.com> wrote:
> > >
> > > oh yeah... one problem I had and forgot to ask about....
> > >
> > > I tried to parse the material into the function. Since the wire-,
> > > bitmap- and colorMaterial are all subclasses of MaterialObject3D I
> > > tried
> > > to parse it as such:
> > >
> > > private function geoSphere( sName:String, iRadius:int=100, iHor:int=8,
> > > iVer:int=6, oMat:MaterialObject3D=null ):Mesh3D {
> > >
> > > But I get an error: "Type was not found or was not a compile-time
> > > constant: MaterialObject3D". Is that normal?
> > > I eventually parsed them as Object and that works of course but it
> > > looks
> > > a bit sloppy.
> > >
> > > gr...
> > >
> > > Ron
> > >
> > >
> > > Ron Valstar wrote:
> > > > Well it's not much... just my helloworld try into pv3d.
> > > > But it does contain a little piece of geosphere code some of you
> > > might
> > > > find usefull.
> > > > The second double loop in the geosphere function is not really
> > > > nescesary, but this was a bit easier. As you might be able to see I
> > > was
> > > > a bit confused about which of xyz is up, but it does the trick. I'll
> > >
> > > > probably make this into a geosphere class soon. I'll re-post the
> > > code.
> > > >
> > > > http://www.sjeiti.com/test/pv3d/index.html
> > > > http://www.sjeiti.com/test/pv3d/helloworld.as
> > > >
> > > > gr...
> > > >
> > > > Ron
> > > >
> > > > _______________________________________________
> > > > Papervision3D mailing list
> > > > Papervision3D at osflash.org
> > > > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> > > >
> > > >
> > >
> > > _______________________________________________
> > > Papervision3D mailing list
> > > Papervision3D at osflash.org
> > > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> > >
> >
> >  ------------------------------
> >
> > _______________________________________________
> > Papervision3D mailing list
> > Papervision3D at osflash.org
> >
> > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> >
> >
> > _______________________________________________
> > Papervision3D mailing list
> > Papervision3D at osflash.org
> > http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> >
> >
> ------------------------------
>
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
> _______________________________________________
> 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/20070223/782edf12/attachment.htm


More information about the Papervision3D mailing list