Frame or Field Mode AXP
4 messages in this thread
Hi Jonas,
Do you have a suggestion for determining whether or not an animation
is being rendered in field mode from within an AXP?
I've tried accessing FieldInfo and AXPViewInfo. I've also tried
EXP_FIELD_INF and EXP_AXP_VIEW without success. I can get the total
number of fields but that doesn't change if the rendering mode
changes so it doesn't help.
Unfortunately, there are no samples available in IPAS 3, 3.5, or 4
that seem to point to a solution to this problem.
Danny,
How's it going? Working on something interesting?
Knowing if the user is rendering in field mode or not is pretty important to
us, here's the code we use:
int f_info
….
#define fi buf->data.vinfo
buf->opcode=EXP_AXP_VIEW
buf->usercode=0xxxx;
break;
case 0xxxx;
f_info=fi.using_fields;
#undef fi
I just double checked this, f_info shows 0 for no fields, 1 for field
rendering.
I hope this helps some.
Don
Thanks Don,
I tried something similar to this without success. Maybe I just typo'd it or
something. Thanks for your help.
Take care,
Danny…
Hi Danny,
<< Do you have a suggestion for determining whether or not an animation is
being rendered in field mode from within an AXP?
I've tried accessing FieldInfo and AXPViewInfo. >>
I found a variable in AXPViewInfo, "int using_fields" on pg 42 of the IPAS4
docs.