Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Author Topic: actor looks different in project manager and in engine  (Read 8648 times)

0 Members and 1 Guest are viewing this topic.

Stucki

  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Posts: 325
  • I'm a llama!
    • View Profile
    • Schach-Welten
actor looks different in project manager and in engine
« on: October 13, 2007, 09:59:23 AM »

for testing purpose i have created a sky actor. its an extruded circle with a sky bitmap on it and it rotates slowly around the scene.
in front of it are some are some cloud entities [ which will become 3d-actors, too ]
so i can have any speed i want without having the exact pixel per pixel movement when doing the Entitie.X=Entitie.X + 1 method ...
everything is working fine just one problem at the moment  ;)
in the preview screen in projectman the circle is intact and i can see the hole sky ...
here is a picture:

but in the game engine there are holes in my sky:
here is a picture:

first i thought about a problem with the normals ... but i tried everthing [ unified normals opposed normals ] and nothing changes.
and why is it showing like it should in the preview of projectman and not in the engine ??

Jyujinkai

  • Global Moderator
  • Frequent poster
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 352
    • View Profile
    • Jyujinkai's WME Development Blog
Re: actor looks different in project manager and in engine
« Reply #1 on: October 13, 2007, 10:08:45 AM »

The wierd thing is that the cloud texture is showing over the black area.... so the mapping and the mesh "look" like they are working.. have you checked to see if you have a alpha in the image file you are using?


or if that cloud is a different sprite or something... have you looked at your lighting.. mabey the cylinder is larger that the radius of your lighting?
« Last Edit: October 13, 2007, 10:11:01 AM by Jyujinkai »
Logged
<Antoine de Saint-Exupéry> In any thing at all, perfection is finally attained not when there is no longer anything to add, but when there is no longer anything to take away...
<Carl Sagan> If you want to make a apple pie from scratch. You must first... invent the universe

Stucki

  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Posts: 325
  • I'm a llama!
    • View Profile
    • Schach-Welten
Re: actor looks different in project manager and in engine
« Reply #2 on: October 13, 2007, 11:36:27 AM »

the clouds in front of the black opening are sprites.
it could not be the lighting. because the black opening rotates along the screen, because the sky rotates .. if it is the lighting the sky should rotate but the black hole should stay at the same position ...
but thanks for guessing ..


it seems to be something with the texturing - not the geometry.
if i change the tiling of the texture in 3dsmax the bleck holes become shorter, but more often ...

« Last Edit: October 13, 2007, 12:07:03 PM by Stucki »
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: actor looks different in project manager and in engine
« Reply #3 on: October 13, 2007, 12:32:07 PM »

I think it's either cut off by the scene geometry (if stencil shadows are enabled in that scene) or by the far clipping plane, as set in SceneEdit.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Stucki

  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Posts: 325
  • I'm a llama!
    • View Profile
    • Schach-Welten
Re: actor looks different in project manager and in engine
« Reply #4 on: October 13, 2007, 12:57:25 PM »

no this cant be i think. far clipping plane is -1
i have this script which rotates the sky actor around its center.
and if it would be a geometry problem or a stencil shadow problem .. the black hole should at the same position and not rotate with the texture ...
and as i mentionend if i set the tiling of the texture to a higher rate the black part becomes smaller but more often ...

best regards
stucki

Edit:
the problem stays the same regardless shadows are set to none / simple / flat or stencil
« Last Edit: October 13, 2007, 01:03:30 PM by Stucki »
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: actor looks different in project manager and in engine
« Reply #5 on: October 13, 2007, 01:08:35 PM »

no this cant be i think. far clipping plane is -1
If you specify -1, WME uses some default clipping plane distance, but it still DOES clip the geometry. Try tinkering with the far clipping plane distance to see if it helps.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Stucki

  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Posts: 325
  • I'm a llama!
    • View Profile
    • Schach-Welten
Re: actor looks different in project manager and in engine
« Reply #6 on: October 13, 2007, 01:23:50 PM »

i triggered both values in may different ways .. it doesent change the texturing.

Amo

  • Supporter
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 206
    • View Profile
    • Sunrise The Game
Re: actor looks different in project manager and in engine
« Reply #7 on: October 13, 2007, 02:10:06 PM »

This could be a problem of the texture. On some system configs this strange behaviour can happen, if the texture is not sized to fit a power of 2. We had this with one of our actors.

Just a suggestion.

Regards

Amo

Stucki

  • Frequent poster
  • ****
  • Karma: 0
  • Offline Offline
  • Posts: 325
  • I'm a llama!
    • View Profile
    • Schach-Welten
Re: actor looks different in project manager and in engine
« Reply #8 on: October 13, 2007, 02:46:47 PM »

thanks very much Amo
this does the trick !!
you helped me very much

 O0 ::rock O0
Regards
stucki


sychron

  • Wanderer zwischen den Welten
  • Global Moderator
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 223
  • There is no spoon. The enemy gate is down!
    • View Profile
Re: actor looks different in project manager and in engine
« Reply #9 on: October 14, 2007, 05:17:01 AM »

btw ... that sky actor is a nice trick. Grats for this creative abuse" ;-)
Logged
... delete the inner sleep ...
 

Page created in 0.025 seconds with 20 queries.