≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Open question (moving shadows like the sun)
Posted by:
(you are not logged in)
Enter the missing letter in: "Internati?nal"
(you are not logged in)
Text:
[quote][b]falcon12[/b] wrote: Hi everyone, I would like to see how many CC user have the same moving shadow (like the sun) problem as mine. To see that, would you like to : - Open example Terrain Demo - rename the directionnal light : "DirectionalLight" - Put this script (orienting light ) in a 100ms 3Dscene (or any other node) event (do something every few time): // orienting light direction to (0,0,0) var s = ccbGetSceneNodeFromName("DirectionalLight"); var Position = ccbGetSceneNodeProperty(s, "Position"); ccbSetSceneNodeProperty(s, "Direction",-Position.x,-Position.y,-Position.z); - create a cube with these parameters : position : 186.210663, 109.959778, -334.890381 scale : 2.637744, 2.637744, 2.637744 - Start the scene in .exe Here, on my PC, I see turning shadows on everything (soldier, tree, etc.) except cube ! Do you see sun moving shadows on the cube ? Falcon[/quote]
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