[Papervision3D] ShadedMaterial on a multi-faceted cube

Trevor Burton trevor.burton at virtuefusion.com
Mon Jan 14 12:08:51 PST 2008


then i kindly insist that you visit the link at the bottome of EVERY email you've received
 
http://osflash.org/mailman/listinfo/papervision3d_osflash.org

and follow the instructions for unsubscribing.... and as you signed up to receive these emails they're not really junk... 
 
T

________________________________

From: papervision3d-bounces at osflash.org on behalf of princess andani
Sent: Mon 14/01/2008 19:02
To: papervision3d at osflash.org
Subject: Re: [Papervision3D] ShadedMaterial on a multi-faceted cube


please i m with all this junk mails. i kindly insist you stop sending me.

Kristin <kristinw at gmail.com> wrote: 

	I posted a test FLA and swf to here:
	
	http://www.kristinwille.com/test/cubeShadeTest.html
	http://www.kristinwille.com/test/cubeShadeTest.fla
	
	Keep in mind I'm very new to PV3D ;)
	
	Thanks for looking at it!
	Kristin
	
	
	
	On Jan 14, 2008 10:06 AM, Kim Daniel Arthur < kim at kimdanielarthur.com> wrote:
	

		Hi Kristin, 
		
		Can you post your code and running example?
		
		For me it has worked to call material.registerObject(
		objectForMaterial ) on each material and it has worked...
		
		Kim
		

		On Jan 14, 2008 6:01 PM, Kristin <kristinw at gmail.com> wrote:
		> Hey all,
		>
		> I'm trying to add light to a cityscape scene made up of cubes; I can't seem 
		> to get the MaterialsList to render properly. I saw an earlier thread about
		> this, and I added the snippet of code to my Cube.as <http://cube.as/>  file --
		>
		> > > Only the Cube's "all" material gets the shaderObjectData populated, 
		> > > which it looks like it is ment to happen in the registerObject()
		> >
		>  > method of ShadedMaterial. This only happens the default "all"
		> > > material of the Cube. 
		> > >
		> > > not sure if this is the correct way but, i added the following line:
		>
		> > > matInstance.registerObject( this );
		> > > in the buildPlane() method of Cube, so that each of the Cube's 
		> > > materials gets the object registered.
		>
		>
		>  I can get the MaterialsList to render properly if I put the same
		> ShadedMaterial in for each side, but when I make one face different, one of 
		> the materials turns black. Any ideas? Thanks!
		>
		> Kristin
		>
		>
		
		> _______________________________________________
		> 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 
		




	-- 
	
	www.runbikeswim.net <http://www.runbikeswim.net/>  _______________________________________________
	Papervision3D mailing list
	Papervision3D at osflash.org
	http://osflash.org/mailman/listinfo/papervision3d_osflash.org
	


________________________________

Looking for last minute shopping deals? Find them fast with Yahoo! Search. <http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 6627 bytes
Desc: not available
Url : http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20080114/fc262636/attachment.bin 


More information about the Papervision3D mailing list