OpenGL activate wireframe by command

13 views
Skip to first unread message

Benjamin Mewes

unread,
Jun 17, 2019, 7:05:21 AM6/17/19
to GAMA
Is there a way to activate the OpenGL wireframe by a command within GAML?

I find the trigger in the GUI but there is no command in the reference on that topic.

Benoit Gaudou

unread,
Jun 17, 2019, 10:04:54 PM6/17/19
to gama-p...@googlegroups.com
Hi,

As far as I know, you cannot activate programmatically the wireframe for a layer or a display.
You can submit an enhancement request if you think it can be useful.

By the way, you can also define a aspect of asgents, in particular with empty: true in the draw. cf model below:

model NewModel



global {

init {

create people;

}

}


species people {

aspect default {

draw sphere(10) empty: true border: #black;

}

}


experiment name type: gui {


output {

display d type: opengl {

species people;

}

}

}


Cheers

Benoit

Le lun. 17 juin 2019 à 18:05, Benjamin Mewes <bennam...@gmail.com> a écrit :
Is there a way to activate the OpenGL wireframe by a command within GAML?

I find the trigger in the GUI but there is no command in the reference on that topic.

--
You received this message because you are subscribed to the Google Groups "GAMA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gama-platfor...@googlegroups.com.
To post to this group, send email to gama-p...@googlegroups.com.
Visit this group at https://groups.google.com/group/gama-platform.
To view this discussion on the web visit https://groups.google.com/d/msgid/gama-platform/68d6c86c-c7ff-4d2a-a918-2766510eb5de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Huynh Quang Nghi 002628

unread,
Jun 17, 2019, 10:10:19 PM6/17/19
to gama-p...@googlegroups.com
Benoit is right and one more workaround you can try : check the preferences if there is an option to switch wireframe, i didnt remember, if it have, you can switch programmatically but it s only for the next launch of simulation. So you should really made an enhance request.
Cheers.

-------------------------------------------
HUYNH Quang-Nghi, Ph.D.
Lecturer
GAMA http://gama-platform.org/
College of Information and Communication Technology - Can Tho University
Campus II, 3/2 street, Ninh Kieu district
Can Tho city, Vietnam
[Vietnam] +84909128322

On Mon, Jun 17, 2019, 18:05 Benjamin Mewes <bennam...@gmail.com> wrote:
Is there a way to activate the OpenGL wireframe by a command within GAML?

I find the trigger in the GUI but there is no command in the reference on that topic.

Reply all
Reply to author
Forward
0 new messages