Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Author Topic: Store image data for pixel operations in Actor3D/Entity.  (Read 2159 times)

0 Members and 1 Guest are viewing this topic.

ErV

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 54
  • I regret nothing!
    • View Profile
Store image data for pixel operations in Actor3D/Entity.
« on: October 06, 2006, 10:06:14 PM »

Hello.
I need to attach an image data (sprite would work fine) to an actor/object. (WME DevKit 1.6) The data/sprite is to remain invisible, but it must be accessible/readable from plugin. This data/sprite is to be used in pixel operations (read access only).  Main goal is to attach this data to 3D actor as a property or something readable/easily accessible from plugin. I've read documentation and still didn't found something suitable. It looks like sprite object (i'm not sure about this) can be only accessed from something via GetSpriteObject(), but can't (am I wrong?) be created directly. What are possible solutions?
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Store image data for pixel operations in Actor3D/Entity.
« Reply #1 on: October 07, 2006, 08:37:50 AM »

You can't dynamically create a sprite, but you can create an entity. So the solution is to create an entity and to use its sprite for your internal purposes.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.036 seconds with 23 queries.