Latest Posts

Topic: Blender light/script

genesis
Joined: 2010-08-21, 16:25
Posts: 15
Ranking
Pry about Widelands
Posted at: 2010-09-03, 14:07

hi,

if i use the blender templet for buildings and put a spot light with halo inside a house for a work animation, the spot light seems to be outside. the spot shines through the wall and roof.

in a new session without the templet it works fine.

can somebody help me?

the second qeustion is about hotspot coords. how i use them?

greetings genesis


Top Quote
samithdisal
Avatar
Joined: 2010-03-08, 15:46
Posts: 66
Ranking
Likes to be here
Location: Sri Lanka
Posted at: 2010-09-03, 17:23

Hotspot is where the flag(the end of the rode) will be placed.


NoOb KiWwaTa NoOb Ma NeWeI

Top Quote
genesis
Joined: 2010-08-21, 16:25
Posts: 15
Ranking
Pry about Widelands
Posted at: 2010-09-04, 18:00

but where is "35 50" or "40 0"?


Top Quote
samithdisal
Avatar
Joined: 2010-03-08, 15:46
Posts: 66
Ranking
Likes to be here
Location: Sri Lanka
Posted at: 2010-09-04, 19:21

http://wl.widelands.org/forum/topic/108/?page=1#post-525

the hotspot is described here


NoOb KiWwaTa NoOb Ma NeWeI

Top Quote
samithdisal
Avatar
Joined: 2010-03-08, 15:46
Posts: 66
Ranking
Likes to be here
Location: Sri Lanka
Posted at: 2010-09-04, 19:25

Hmm looks like a complete wiki is needed for graphic developments, from blender installing to adding graphics it to repo.


NoOb KiWwaTa NoOb Ma NeWeI

Top Quote
Nasenbaer
Avatar
Joined: 2009-02-21, 18:17
Posts: 829
Ranking
One Elder of Players
Location: Germany
Posted at: 2010-09-04, 20:11

genesis wrote: but where is "35 50" or "40 0"?

It's the coordinate in the picture - so "35 50" means 35th pixel from left and 50th pixel from head down - so on a picture with 70x100 pixels it would be the middle.

not all picture viewers support a feature to show the pixel location - but e.g. the gimp does - simple open the image, hold the mouse over the point you would like the road to end at and take a look at the status bar - the coordinates are printed there.

For the problem with the blender template: I do not know what happens there, but I know, that you should definitly use the template - without that template you will neither have the right lighting nor the right building orientation.

Perhaps you could ask Chuck, or AlexiaDeath in IRC chat. If bithunter32 or trimard is somewhere, you could ask these two as well.

Hope at least one of theme will read this post face-smile.png

Cheers

Nasenbaer


Top Quote
chuckw
Avatar
Joined: 2010-03-15, 16:23
Posts: 945
Ranking
One Elder of Players
Location: New York - USA
Posted at: 2010-09-05, 18:17

Hi, genesis!

Nasenbaer described the hot spot quite well.

I like your idea of using a light object in Blender to suggest a building's working mode. I confess that my knowledge of light controls is sorely lacking. You might take a look at graphics/tribes/empire/buildings/deep_mine.blend in the widelands-media repository for some ideas.

I'll look into the approach myself and let you know if I can provide anything constructive.

In the meantime, keep plugging and let me know if you run into any other obstacles.

Cheers!

Chuck


I see little people.

Top Quote
genesis
Joined: 2010-08-21, 16:25
Posts: 15
Ranking
Pry about Widelands
Posted at: 2010-09-06, 13:09

thank u all for ur help!

@Nasenbaer: ur description about the hotspot is very good. (better than in wiki)

@chuckw: yeah thx i will have a look at the file.

greetings genesis


Top Quote