Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
1 registered members (Grant), 999 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Drawing onto a Models texture. #11045
11/22/02 01:42
11/22/02 01:42
Joined: Mar 2002
Posts: 1,835
Minneapolis, Minnesota, USA
Nardulus Offline OP
Serious User
Nardulus  Offline OP
Serious User

Joined: Mar 2002
Posts: 1,835
Minneapolis, Minnesota, USA
I know this has been asked before but my searches were inconclusive on how to change a models texture on the fly.

Here is what I want to do with 3DGS....

I will display a very Large Golf Ball on the screen.

I would like to let a user add a 256 X 256 bitmap of their own and add it as a logo that I can paint on the golf ball.

My friend has a company that prints logos on Golf balls. It would be handy to have a ball and logo visualizer that did this on a computer, before the actual printing of the golf ball took place.

Has anybody got a DLL or something that will let me do this.

Marco can your DLL you did for painting views onto to blocks be modified to accomplish this?

Any help would be appreciated.

Jhocking and I have been asking for external texture maps for Models, ala 3DS format for a while. This would be a perfect us for them. Oh well does any one have code to accomplish this.

Ken

Re: Drawing onto a Models texture. #11046
11/22/02 02:05
11/22/02 02:05
Joined: Mar 2002
Posts: 1,123
California
Cellulaer Offline
Expert
Cellulaer  Offline
Expert

Joined: Mar 2002
Posts: 1,123
California
http://www.peacekeeper.com/3dgs/gsjanfx.html

// draw any size (should be smaller than entity) BMAP onto entity
// 0,0,0 is transparent
dllfunction FXImageListDrawXY(string, entity, x, y);

I would say a 1024x1024 texture for the golf ball and then FXImageListDrawXY() your 256x256 texture in the center.


Buy, Sell, & Archive Realtime 3D Content @ RedRock7.com *BETA* A5.5+ Plugin DLLs: GSADO, GSHTTP, GSImgLst, FreeMod, GSFlash, GSPython http://cellulear.slashbang.com/
Re: Drawing onto a Models texture. #11047
11/22/02 03:57
11/22/02 03:57
Joined: Mar 2002
Posts: 1,835
Minneapolis, Minnesota, USA
Nardulus Offline OP
Serious User
Nardulus  Offline OP
Serious User

Joined: Mar 2002
Posts: 1,835
Minneapolis, Minnesota, USA
Noah,

Thank you, I will down load this today and give it a try!!!!

In advance, you are the man.

Ken


Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1