Hello,
I have a 3D viewer application with an XYZ indicator in the lower left hand side. I am trying to place "x" "y" "z" labels on the arrows that are always facing forward using rasterpos and...
Type: Posts; User: Digga
Hello,
I have a 3D viewer application with an XYZ indicator in the lower left hand side. I am trying to place "x" "y" "z" labels on the arrows that are always facing forward using rasterpos and...
Hello,
Im working on a small graphics routine and I am adding labels to the measured features. Ive got the text rendering properly so that it always faces the user but if I zoom in and zoom out the...
Hello,
I have a small geometric view program and I would like to label each feature with its name ( circle 1, point 6 etc ) I have searched the web for a solution unsuccessfully.
I am wondering if...
Ehsan,
Thanks
Derrek
Fixed it!!!
Thanks to everyone for their tips
void CVisualWorkShopView::DrawXYZOrigin(void)
{
glPushMatrix();
glColor3f(0.0f,0.0f,1.0f);...
OK I reread the rotateF documentation and understand whats going on I have the cylinder oriented correctly but its starts drawing form the end of the previous cylinder. I thought the translate...
Hello,
Here is the complete code, I think Im using glrotatef correctly but Ill double check,
GLUquadricObj *quadratic; // Storage For Our Quadratic Objects ( NEW )
// CVisualWorkShopView
...
hello,
Im drawing a XYZ indictor in my partview window using gluCylinder. I can get Z axis looking right but I cant seem to rotate the cylinder to the Y or X axis:
{ // Z axis in...
Hello,
I have a MFC view that has a gradient background. What Im trying to do is add geometry as its measured. For example I start measuring in my software and measure a circle.In the view a circle...
Anyone?
Is there a tutorial I should look at?
Derrek
Hello,
Im righting an OpenGl partview as a add on to an existing product. I cant seem to figure out how to add features as they are measured to my view:
Right now Im trying to get lines working:...
Thanks so much
that fixed it!!!!!
Thanks again
Derrek
Thanks for the reply,
In DrawBackground() if I enable GL(MODELVIEW) and Load Identity
I get the background the way I like it but nothing from oglDrawScene()
If I disable GL(MODELVIEW) and...
Hello,
I have started a project and Im using openGl to render a 3D partview.
Ive drawn a quad with the color gradient that I want to use as the background. And I used some existing code the draw a...
I have added the gradient code to OnDraw but its still not drawing a background to the window,
code:
void COpenGL::OnDraw(CDC *pDC)
{
////////// gradient backgroud
glMatrixMode(...
Hello,
Im new to OpenGl and am having trouble setting up a gradient background:
Here is my code:
#include "stdafx.h"
#include "OpenGL.h"
COpenGL::COpenGL(void)
{