Gamestudio Links
Zorro Links
Newest Posts
What are you working on?
by Ayumi
8 minutes 11 seconds ago
Performance report on the imported trades
by OptimusPrime
15 minutes 30 seconds ago
Possible to return character vector from R bridge?
by JamesHH
Today at 18:59
Help with Wine on Linux
by AndrewAMD
Today at 16:59
Stock Splits
by AndrewAMD
Today at 16:23
Linux - Help with setting up with Wine and Zorro
by michaelj
Today at 04:49
How to expand Zorro to work with other broker ( like Tradovate )
by AndrewAMD
Today at 02:12
AUM Magazine
Latest Screens
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Who's Online
12 registered (AndrewAMD, Ayumi, JamesHH, ChrstphFr, michaelj, Akow, jenGs, Bill_Lin_Fang, alibaba, 1 invisible), 165 Guests and 8 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
Bill_Lin_Fang, michaelj, ThePituLegend, kankan, Nofip
18207 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: 3150
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 Offline
Senior Expert

Registered: 09/13/03
Posts: 6834
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

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 Offline
Senior Expert

Registered: 09/13/03
Posts: 6834
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

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: 3150
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: 3150
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