Gamestudio Links
Zorro Links
Newest Posts
New Zorro version 2.03
by laz
12 minutes 38 seconds ago
Texture Shifting
by Superku
13 minutes 26 seconds ago
What are you working on?
by Superku
30 minutes 55 seconds ago
About strategy optimization
by Spirit
Today at 14:13
Help in analysis...
by MINER
Today at 09:56
TradeVars not working with pending trades
by jcl
Today at 08:17
Creating a Directory
by txesmi
Yesterday at 10:15
AUM Magazine
Latest Screens
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Evonet Beta v1.0 : Online Project Development Template
Who's Online
16 registered (Ayumi, kvm, Dalla, Quad, GPEngine, alibaba, Iglarion, misiek, 3 invisible), 640 Guests and 7 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
Pelin27, Aziz, lucianopneto, j45p41, Max_Ahn
18173 Registered Users
Topic Options
Rate This Topic
#386658 - 11/07/11 16:42 bounding box of invisible entities and sprites
sivan Offline
Expert

Registered: 03/07/11
Posts: 3149
Loc: Budapest
Hi!
I would find it useful to include in the features of d3d_lines representing the bounding boxes of invisible models, and (visible) sprites too.
Sometimes I use hidden object for collision (e.g. now because of the new decal shadow system, which really works fine now after I revised my codes), and rarely, but I do use non-passable sprites too.
I hope it is not so complicated as collision representation... laugh
_________________________
Free world editor for 3D Gamestudio: MapBuilder Editor

Top
#386659 - 11/07/11 17:27 Re: bounding box of invisible entities and sprites [Re: sivan]
Superku Online
Senior Expert

Registered: 09/13/03
Posts: 6816
Loc: Kiel (Germany)
Yes, that would be nice.

Meanwhile you can use ent_next and draw_box3d as a workaround to show all bounding boxes.
_________________________
"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Superku - stuck in development hell: http://store.steampowered.com/app/407570

Check out my new game: Pogostuck: Rage With Your Friends

Top
#386660 - 11/07/11 20:33 Re: bounding box of invisible entities and sprites [Re: Superku]
painkiller Offline
Serious User

Registered: 08/23/09
Posts: 1438
Loc: Spain
pressing F11 twice with default.c lets you see all the bounding boxes, I think invisible model boxes are not seen though


Edited by painkiller (11/07/11 20:35)
_________________________
3D Gamestudio A8 Pro
AMD FX 8350 4.00 Ghz
16GB RAM
Gigabyte GeForce GTX 960 4GB

Top
#386662 - 11/07/11 20:51 Re: bounding box of invisible entities and sprites [Re: painkiller]
Superku Online
Senior Expert

Registered: 09/13/03
Posts: 6816
Loc: Kiel (Germany)
The function on F11 simply sets d3d_lines to specific values and yes, the bboxes of invisible models are not shown, that's why sivan has made the request.
_________________________
"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Superku - stuck in development hell: http://store.steampowered.com/app/407570

Check out my new game: Pogostuck: Rage With Your Friends

Top
#386665 - 11/07/11 22:50 Re: bounding box of invisible entities and sprites [Re: Superku]
sivan Offline
Expert

Registered: 03/07/11
Posts: 3149
Loc: Budapest
thanx SuperKu, I'll try that! it is really what I need beside d3d_lines=1 laugh
but F11 would be easier grin
_________________________
Free world editor for 3D Gamestudio: MapBuilder Editor

Top
#387470 - 11/19/11 09:33 Re: bounding box of invisible entities and sprites [Re: Superku]
sivan Offline
Expert

Registered: 03/07/11
Posts: 3149
Loc: Budapest
finally I implemented it because I really need it...
draw_box3d is okay only for axis aligned box drawing, and I have rotated entities too, so I had to use 12 pcs of 3D lines per entity with proper rotation for each... if someone is interested I can share it, the price is a beer laugh
_________________________
Free world editor for 3D Gamestudio: MapBuilder Editor

Top
#476223 - 02/05/19 22:22 Re: bounding box of invisible entities and sprites [Re: sivan]
NnamueN Offline
Newbie

Registered: 02/23/10
Posts: 5
Loc: Mainz
Hello sivan, can i get your solution. I need exactly the same too

cu Roman
_________________________
So Long, and Thanks For All the Fish.
Es geht nicht darum im höchsten Level zu sein, sondern alle die vorherigen erlebt und verstanden zu haben !

Top


Moderator:  aztec, elsewood, 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