not it is a function and definition is depends on you
better to say vecXmat
take in this way
void GetCol(float Mat[16],float (&Res)[4],int c)
{
assert(c<=4);
for(int r=0;r<4;r++)
{
Type: Posts; User: vivek vyas
not it is a function and definition is depends on you
better to say vecXmat
take in this way
void GetCol(float Mat[16],float (&Res)[4],int c)
{
assert(c<=4);
for(int r=0;r<4;r++)
{
you can do it like in this way
GLfloat mat[16];//Global
make your own function(like MulMat) which multiply matrix with 3 Co-Ordinates with taking care of OpenGL Matrix Order
glPushMatrix();...
gluPerspective(90.0, 16.0 / 9.0, 0, 200);
gluPerspective(90.0, 16.0 / 9.0, 1, 200);
I am not sure for your solution but you can use nVidia Cg.
It supports wide varierty of shaders.
and I think that black screen is due
glClearColor(0,0,0,0); by default
try use this with other...
if you find this
http://www.opengl.org/resources/code/samples/redbook/pickdepth.c
then the solution of your problem is also in this code
if you don't know(but i think you know)
model-view
both are two matrix
model->Translate,Scale,Rotate...
view->gluLookAt()which is also Translate Rotate...
make some changes on your...
I am not understand where your init is
but
it look like matrix which are multiplied are different
if your init() is inside main for define and not change
then it not get multiplied with a...
it worked with "console" new empty project
atleast in my system ;)
do you use lib3ds
if yes then i have solution for calculating normal as it have function for it
if I want to make blur object at max
Do they have to be convex in shapes{
I tried by focusing the eye's on nose and watching the world
}
so my shader have to act like this way
...
hey what the fun behind it
is it "windows.h"
really
i am also hunger to laugh on my words.
if toolkit not supported then this is look like last option
else go for dev c++(you already said
"switching to something else is not an option"
)
as you said
"My requirements are basic GUI -...
"toolkits (Qt,wxWidgets, even freeGlut) don't support Borland"
oh then create a new project(dll)
download source code of freeglut
and start compiling
check for error if any occur
while thread is not created by me but i want to say thanks
hay dude
i don't know how to make a look At
but i think you had saw the function definition of the gluLookAt
but the Q i think you know the definition
while i think the position is given by...
yes i read some artical that thus CRT don't have safe guard with them
so they can't stop the some kind of supply
so either they get burned or get damaged
and article is X11 windows system's 6.9...
if i m not wrong
if observer at
10,10,10
using gluLookAt to positioned at 10,10,10
do you want to display that position
then it will be use of fprintf (for console application) function...
damn,
i haven't notice
can you use
gluOrtho2D
i m not sure but -50, 50);
may cause some problem
may be use gluOrtho2D
and read gluOrtho2D spec
read
if u don't know gluOrtho2D.
you may also know which function where fitted
i hope you have seen songho and might as it at first place by google search
www.songho.ca/opengl/gl_vbo.html
but i hope you also go at...
and OpenGL is also available for many languages(ie c,c++,java,python).
and
if you don't know API
API means Application programming interface
OpenGL
M3G (may be)
Mascot Capsule (hi)...
At last I found that
the c code goes in General fashion
eg
if I am wrong please reply to this
glMaterialfv(GL_FRONT,GL_AMBIENT,amb);
it will interfered by state.material.ambient??
as i had...
hey at-least some one please help me
i had tried to compile cg's simple.cg code and it give error
regarding Lit
and also
when i read extensions of OpenGL registry
then there is line which i...
Hint:- please use the assembly code in the simple program with teapot rendering with a setting which just need a pass of Enable(DEPTH_TEST) to apply depth buffer as mentioned in Question
ok...
i think instead of hoping answer you need to work hard on the codes of the programs
work HARD HARD HARD and HARD.