Issues.00529 - lordmundi/wikidoctest GitHub Wiki

00529: Scaling a model doesn't apply to graphics model frame

« 00528 | Issues | 00530 »

Summary: Scaling a model doesn't apply to graphics model frame

Created: 2015–02–17 16:29

Status: Released

Category: Bug

From: tbrain

Version: 2.3

Released_In: 2.4

Description:

I tried to scale a simple cylinder with length along the z-axis using the following lines in an EDGE config file.

node(AERCAM_PIN); xyz(−4.0, 0, −17.3); pyr(90, 0, 0); parent(AERCAM_SIM_ATT); node(AERCAM_PIN_GRAPHICS); model(GenericCylinder.ac); scale(2.0, 2.0, 19.68505); parent(AERCAM_PIN);

The result was scaling in what looks like the AERCAM_SIM_ATT frame (or pre-AERCAM_PIN parent). Not sure if I'm doing something obviously wrong but I believe this to be a bug.


Comments


« 00528 | Issues | 00530 »

Associated Commits

| commit | f0841ead667e7c02f30b2147306a77bb387a7b29 link7 | || | Author: | Frank Graffagnino | | Date: | Wed Jul 6 17:08:39 2016 -0500 | | Message: | [@Issue 00529: Fixed issue where model scaling axis was not correct Scaling a model in the config file in the z axis was actually scaling it about the x axis and vice-versa. This should be fixed now. @] |

Affected Files:

lib_Darwin/libdsp.a              | Bin 2026496 -> 2087824 bytes
 lib_Linux_FC3/libdsp.a           | Bin 1020922 -> 1020166 bytes
 lib_Linux_FC3/libdsp_s.so        | Bin 853796 -> 853185 bytes
 lib_Linux_FC3_x86_64/libdsp.a    | Bin 1461602 -> 1761354 bytes
 lib_Linux_FC3_x86_64/libdsp_s.so | Bin 889871 -> 1081675 bytes
 lib_Win32/libdsp.dll             | Bin 2488761 -> 2451721 bytes
 lib_Win64/libdsp.dll             | Bin 1712681 -> 1709782 bytes
 7 files changed, 0 insertions(+), 0 deletions(-)

| commit | 6b98e45a6a103f17430b36d5a2d0e5f13c791095 link8 | || | Author: | Brad Bell | | Date: | Wed Nov 16 09:16:48 2016 -0600 | | Message: | [@EDGE Issue 00529: Fixed 'scale' command used in 'cfg' files and added additional check for cirucular links at startup @] |

Affected Files:

src/dsp/dsp_scene.c | 34 +++++++++++++++++++++++++++++++±-
 1 file changed, 32 insertions(+), 2 deletions(-)

| commit | c191a6a2cb898e32dff52b7f66d25cab5d797ac7 link9 | || | Author: | Frank Graffagnino | | Date: | Wed Jul 6 22:12:04 2016 -0500 | | Message: | [@Issue 00529: Fixed issue where model scaling axis was not correct Scaling a model in the config file in the z axis was actually scaling it about the x axis and vice-versa. This should be fixed now. @] |

Affected Files:

src/dsp/dsp_scene.c | 34 +++++++++++++++++++++++++++++++±-
 1 file changed, 32 insertions(+), 2 deletions(-)