Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperLicht
Some questions

coreytaylor
Registered User
Quote
2011-12-04 00:23:02

Good day.

I am testing various frameworks of WebGL to further choose one for my project, and CopperLicht just caught my eye. However, I need help in some questions, if possible :).. here goes:

1 - I'm trying to publish a simple scene I made on Blender with CopperCube, to WebGL. I can import the models, but the only models that load correctly are the models with textures on them, the others with a simple material (for example, a blue sphere), are not displayed correctly, presenting a white color, and no specular light on them.The file format for importing I am using is Collada (.dae). Am I missing something?

2 - Does CopperLicht support assignment of a material to a mesh, dynamically? And setting the light properties of it, like specular, ambient and diffuse color (perhaps Phong or Lambert material type too?)?

3 - Is it possible to convert the other formats (like .dae), to the .ccb, without the CopperCube?

4 - Does CopperLicht support ray tracing / radiosity?

Thanks in advance ;)


niko
Moderator
Quote
2011-12-04 09:27:59

Hi,

1) Copperlicht doesn't support vertex colors, so only objects with textures on them will be shown correctly. If you want a solid color on parts of your models, use a colored image texture for this.

2) Yes, you can change any aspect of the material at runtime. See here: http://www.ambiera.com/copperlic...

3) Currently, you have to use CopperCube for this. There is also the possibility to use CopperCube via the command line to convert any mesh to a .ccb or .ccbjs file on the fly.

4) You can calculate the light mapping (using radiosity if you like) inside CopperCube (click the lightmapping tab and hit 'calculate'), it will then be shown in CopperLicht just as in the editor.


coreytaylor
Registered User
Quote
2011-12-04 21:11:08

Understood. Thanks.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "?nternational" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact