[X3D-Public] X3D-Public Digest, Vol 60, Issue 8

doug sanden highaspirations at hotmail.com
Tue Mar 11 12:40:21 PDT 2014


> Unfortunately no, I need something to handle the ambient color in the 
> same way of Material node diffuseColor and emissiveColor. In our 
> solution we have an ambient color specified in RGB color space for each 
> object and light in the scene. 

I suspect:
for object material, that would be diffuseColor
for a light, that would be color 

http://www.web3d.org/files/specifications/19775-1/V3.3/Part01/components/lighting.html#Lightsourcesemantics
If you can follow the lighting equations on this page it might help you decide how to translate your old format into equivalent web3d syntax.

If the object material is metallic then you'll need to make the material specularColor the same color as the diffuseColor (ie gold reflects white light as gold light).

Is that what you mean?

> 
> 
> 2014-03-11 20:00 GMT+01:00 
> <x3d-public-request at web3d.org<mailto:x3d-public-request at web3d.org>>: 
> Send X3D-Public mailing list submissions to 
> x3d-public at web3d.org<mailto:x3d-public at web3d.org> 
> 
> To subscribe or unsubscribe via the World Wide Web, visit 
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org 
> or, via email, send a message with subject or body 'help' to 
> x3d-public-request at web3d.org<mailto:x3d-public-request at web3d.org> 
> 
> You can reach the person managing the list at 
> x3d-public-owner at web3d.org<mailto:x3d-public-owner at web3d.org> 
> 
> When replying, please edit your Subject line so it is more specific 
> than "Re: Contents of X3D-Public digest..." 
> 
> 
> Today's Topics: 
> 
> 1. Ambient color in X3D (Luca Martini) 
> 2. Re: Ambient color in X3D (doug sanden) 
> 
> 
> ---------------------------------------------------------------------- 
> 
> Message: 1 
> Date: Tue, 11 Mar 2014 17:50:40 +0100 
> From: Luca Martini 
> <luca.g.martini at gmail.com<mailto:luca.g.martini at gmail.com>> 
> To: x3d-public at web3d.org<mailto:x3d-public at web3d.org> 
> Subject: [X3D-Public] Ambient color in X3D 
> Message-ID: 
> 
> <CAPvv9sQB5KcCGmFBDOxiksOVuWGXMXntgu3LNc+c08HaqUwswg at mail.gmail.com<mailto:CAPvv9sQB5KcCGmFBDOxiksOVuWGXMXntgu3LNc%2Bc08HaqUwswg at mail.gmail.com>> 
> Content-Type: text/plain; charset="iso-8859-1" 
> 
> Hi everybody, 
> I'm using X3D as format to export scenes made in a 3D scene builder (a 
> private business solution) and I'm trying to capture the ambient color in 
> this process but I couldn't find any X3D node corresponding to it, all I 
> could find is the ambientIntensity. 
> Is there a known solution or some way to set an ambient color in X3D? 
> Thanks in advance. 
> 
> Luca 
> -------------- next part -------------- 
> An HTML attachment was scrubbed... 
> URL: 
> <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20140311/c4df5cc0/attachment-0001.html> 
> 
> ------------------------------ 
> 
> Message: 2 
> Date: Tue, 11 Mar 2014 11:04:46 -0600 
> From: doug sanden 
> <highaspirations at hotmail.com<mailto:highaspirations at hotmail.com>> 
> To: "x3d-public at web3d.org<mailto:x3d-public at web3d.org>" 
> <x3d-public at web3d.org<mailto:x3d-public at web3d.org>> 
> Subject: Re: [X3D-Public] Ambient color in X3D 
> Message-ID: <BLU182-W10A6163C9AC34012B69416B6770 at phx.gbl> 
> Content-Type: text/plain; charset="iso-8859-1" 
> 
>> Hi everybody, 
>> I'm using X3D as format to export scenes made in a 3D scene builder (a 
>> private business solution) and I'm trying to capture the ambient color 
>> in this process but I couldn't find any X3D node corresponding to it, 
>> all I could find is the ambientIntensity. 
>> Is there a known solution or some way to set an ambient color in X3D? 
>> Thanks in advance. 
>> 
>> Luca 
>> 
> 
> Do you mean Background Node? 
> http://www.web3d.org/files/specifications/19775-1/V3.3/Part01/components/enveffects.html 
> 
> 
> ------------------------------ 
> 
> Subject: Digest Footer 
> 
> _______________________________________________ 
> X3D-Public mailing list 
> X3D-Public at web3d.org<mailto:X3D-Public at web3d.org> 
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org 
> 
> 
> ------------------------------ 
> 
> End of X3D-Public Digest, Vol 60, Issue 8 
> ***************************************** 
> 
> 
> _______________________________________________ X3D-Public mailing list 
> X3D-Public at web3d.org 
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org 		 	   		  


More information about the X3D-Public mailing list