Possible to have an object facing always the camera?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2016-09-27 11:59 PM
‎2016-09-27
11:59 PM
is it possible to construct an object that _always_ faces the camera?
I'm thinking about a billboard-like tree, that aways can be seen perpendicular to the camera axis and never can be seen being shortened.
It's possible to get the camera's position through the GLOB_EYEPOS_X and GLOB_EYEPOS_Y variables but are such variables there for the gdl object? (I haven't found such one.)
GDL/Python/C++ dev
5 REPLIES 5

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2016-09-28 01:36 AM
‎2016-09-28
01:36 AM
The 2D billboard trees and people in the library have always done this... at least since version 6.5 when I began using ARCHICAD.
For example, Deciduous Trees 20 lets you select a variety of tree image or outline billboards. In 3D - and only in perspective view, not axo view - doing a rebuild/regenerate rotates the tree to face the camera.
The library part above also lets you load your own custom picture as the billboard under the '2D Representation...' and '3D Representation" settings groups.
You can open any of these billboard parts to view the code that does the rotation.
For example, Deciduous Trees 20 lets you select a variety of tree image or outline billboards. In 3D - and only in perspective view, not axo view - doing a rebuild/regenerate rotates the tree to face the camera.
The library part above also lets you load your own custom picture as the billboard under the '2D Representation...' and '3D Representation" settings groups.
You can open any of these billboard parts to view the code that does the rotation.
AC 28 USA and earlier • macOS Sequoia 15.4, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2016-10-23 01:17 PM
‎2016-10-23
01:17 PM
Indeed the script is run - sometimes.
But it's not regenerated always, so, when i switch to a 3d view or even if i render it, it points to a wrong direction (the same holds for trees also, interestingly).
Thanks
But it's not regenerated always, so, when i switch to a 3d view or even if i render it, it points to a wrong direction (the same holds for trees also, interestingly).
Thanks
GDL/Python/C++ dev
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2016-10-23 03:35 PM
‎2016-10-23
03:35 PM
I have the same problem ... it's not enoough to regenerate the 3D window ... everytime I have to select all the billboards (trees, people, etc), open the settings and click ok (without changing anything) ... Only in this way I get them to regenerate and face correctly the camera...
And this happens since many versions ...
And this happens since many versions ...
AC27 latest hotfix
Win 10 Pro 64bit
Double XEON 14 CORES (tot 28 physical cores)
32GB RAM - SSD 256GB - Nvidia Quadro K620
Display DELL 25'' 2560x1440
www.almadw.it
Win 10 Pro 64bit
Double XEON 14 CORES (tot 28 physical cores)
32GB RAM - SSD 256GB - Nvidia Quadro K620
Display DELL 25'' 2560x1440
www.almadw.it
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2016-11-26 08:46 AM
‎2016-11-26
08:46 AM
How to solve?
Is it a bug?
Is it a bug?
AC27 latest hotfix
Win 10 Pro 64bit
Double XEON 14 CORES (tot 28 physical cores)
32GB RAM - SSD 256GB - Nvidia Quadro K620
Display DELL 25'' 2560x1440
www.almadw.it
Win 10 Pro 64bit
Double XEON 14 CORES (tot 28 physical cores)
32GB RAM - SSD 256GB - Nvidia Quadro K620
Display DELL 25'' 2560x1440
www.almadw.it
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎2020-01-16 11:23 AM
‎2020-01-16
11:23 AM
Any news on this matter? it would be great to have this working just like on other softwares like sketchup.