# Search:

Type: Posts; User: Michael Steinberg

Page 1 of 20 1

1. ## Thread: Matrix to transform vector MA to MB same length

by Michael Steinberg
Replies
8
Views
2,797

### Re: Matrix to transform vector MA to MB same lengt

The (anticommutative) crossproduct and the windedness of the rotation around that crossproduct (which you use as the axis fpr rotation) will incorporate that information. ( a x b = - b x a )
So you...

by Michael Steinberg
Replies
4
Views
1,671

### Re: Vector representation

Yes, now that I thought about using SSE extensions eventually, i will have to implement that plane packing distinctly anyways, since those SSE operations always work on 1 or all 4 components, if I...

by Michael Steinberg
Replies
4
Views
1,671

### Re: Vector representation

Hey.
I specifically meant Packing of Normal and distance (Hesse-Form) of the plane into a 4d vector. If that vector implements its operations in 4D, the plane class would have to reimplement all...
4. ## Thread: Finding Area between intersection points(polygon)

by Michael Steinberg
Replies
1
Views
1,296

### Re: Finding Area between intersection points(polygon)

Hey there!
I'm sorry, but I really can't follow you here. Are you trying to find the area of the intersection of 2 coplanar polygons?

by Michael Steinberg
Replies
4
Views
1,671

### Vector representation

Hello there!
Ever since, I used C-Funtions for my vector/vertex manipulation-code. I now decided to wrap my vectors up in C++ classes and ran across the problem of properly handling homogenous...
6. ## Thread: Finding the intersection point of 2 vectors

by Michael Steinberg
Replies
3
Views
12,584

### Re: Finding the intersection point of 2 vectors

Hello!
You see, there is no such thing. Vectors represent Directions and Distances only, they don't intersect. Two lines or straights (each one represented by 2 Vectors placement and direction!) may...
7. ## Thread: Really strange performance

by Michael Steinberg
Replies
3
Views
1,893

### Re: Really strange performance

Hi there!
Thank you, it seems that these threaded optimizations really caused these glitches, at least I didnt notice them happening anymore after turning TO off. They were somewhat unpredictable...
8. ## Thread: Really strange performance

by Michael Steinberg
Replies
3
Views
1,893

### Really strange performance

Hi there!
I have set up a pretty simple (render-wise) application, that holds nearly every geometry in VBO's and does an endless PeekMessage->Draw Frame loop. However, every now and then, a frame...
9. ## Thread: cutting a hole

by Michael Steinberg
Replies
4
Views
1,933

### Re: cutting a hole

Hey there... well, the stencil buffer does not affect the glClear operation, you will not be able to do it that way. What you can do is either grabbing the depth and writing it back, drawing your CSG...
10. ## Thread: GL 2.0 tokens

by Michael Steinberg
Replies
3
Views
1,459

### Re: GL 2.0 tokens

Here's a header file which includes what i think you need.

http://oss.sgi.com/projects/ogl-sample/ABI/glext.h

by Michael Steinberg
Replies
6
Views
2,464

### Re: Partial image

Simply take the aspect ratio into account when calculating the texcoords? oO

I didnt mean the displaying, but why do you need glReadpixels there? That sounded to me, like you wanted to extract...

by Michael Steinberg
Replies
6
Views
2,464

### Re: Partial image

I don't exactly know why you dont just take the data directly from the image itself, but glTexcoord will help you to scale the texture accordingly to what you want to see on the screen.

Say your...

by Michael Steinberg
Replies
3
Views
1,615

### Re: Most advisable 3D File Format

Alright, the problem is resolved - i had to assign a material to every object. Collada, here I come!
14. ## Thread: cutting a hole

by Michael Steinberg
Replies
4
Views
1,933

### Re: cutting a hole

I think, what you are missing is the save&restore depth part of that presentation.

by Michael Steinberg
Replies
6
Views
2,464

### Re: Partial image

I don't understand what you want to do.
16. ## Thread: Picking, ctrl pts on nurbs surface

by Michael Steinberg
Replies
5
Views
2,148

### Re: Picking, ctrl pts on nurbs surface

Alright, i digged deeper through that code and you seem to be misunderstanding the concept of picking.

void drawSurface(GLenum mode)
{
int u, v;
for (u = 0; u < 4; u++) {
if...
17. ## Thread: back surface color

by Michael Steinberg
Replies
3
Views
1,641

### Re: back surface color

Could you strip down your code to the relevant parts and post the result?
18. ## Thread: Picking, ctrl pts on nurbs surface

by Michael Steinberg
Replies
5
Views
2,148

### Re: Picking, ctrl pts on nurbs surface

You could really have stripped all the Nurbs-rendering to make your sample code a bit shorter and [CODE] to make it easier to read.

I dont have a final answer, but to me it seems you are drawing...

by Michael Steinberg
Replies
3
Views
1,615

### Re: Most advisable 3D File Format

Hey there, thanks, you got me curious about Collada for Data exchange. As it seems though, Collada export is completely broken in the most recent Blender release. Is there maybe somehow an indirect...

by Michael Steinberg
Replies
3
Views
1,615

### Most advisable 3D File Format

I've been out of business for a long time now and try to catch up. I wonder what happened in the area of file formats, back then I was happy with 3ds, but I wonder if there is a better suited format...

by Michael Steinberg
Replies
2
Views
206

### Re: coords conversion

You will need to define x and y axes plus the origin on that plane, otherwise any coordinate given will be meaningless.
When you have all those three necessary informations you are ready to go.
If...
22. ## Thread: Packing half floats

by Michael Steinberg
Replies
1
Views
180

### Re: Packing half floats

http://oss.sgi.com/projects/ogl-sample/registry/NV/half_float.txt
23. ## Thread: calculate X and Y for an array need help

by Michael Steinberg
Replies
10
Views
597

### Re: calculate X and Y for an array need help

Hello!
Hex,Octal,Decimal is only applied to constants in programming languages and are automatically converted to the machine number format, which will probably be binary... Dereferencing an array...

by Michael Steinberg
Replies
5
Views
351

### Re: calculating intersection

Alright, so i hope i don't do any mistakes here...
* is to be understood as dot-product.

Say you have your plane definition in normal-form (getting that shouldnt be a problem, eh?).
N is the...
25. ## Thread: Correcting the Winding Order

by Michael Steinberg
Replies
8
Views
1,787

### Re: Correcting the Winding Order

void poly::flip_winding()
{
for( i=0; i<(num_vertices-1)/2; ++i ) {
swap( vertices[i], vertices[num_vertices-2-i] );
}
}if i'm not mistaken
Results 1 to 25 of 500
Page 1 of 20 1