backface culling: how do you do it?

I found this script that I couldn't resist trying to add onto. The original author is linked at the bottom. http://www.hardwoodfloorspdx.com/misc/javascript/canvas/test/cube/I need some help with possible ideas for backface culling. I just need a nudge. I could try my own special brand of stupid on ...

Backface culling

I want to do back-face culling in my code. That is, I want to performthe calculation myself, but I can't figure out how the calculationgoes. Can anyone help?I can get the camera matrix (the modelview matrix times the projectionmatrix) and I guess that it has something to do with it. ...

Ubuntu Line of Sight culling?

I've been writing a game with presumably random boxes. I've implemented view frustrum culling, backface culling, and even display lists. It's still not fast enough for my tastes, and I was wondering if there was any way to tell whether a face will be behind another. Maybe I could check whether the e ...

Help needed with First Person Camera issues!

everybody, new to the board and hoping someone can help! lolSince i finished my computer games degree, i've been working on creating a simple 3d engine in Flash of all things. So far everything is going ok, it will render polygons, perform backface culling, has a cutoff point for rendering (to preve ...

OpenGL Geometry flickering Even with double buffering

I have been scouring the web for similar situations and all solutions have proven futile. My problem is that upon redrawing (rotations, zooming in/out), certain faces of my cube flicker. 1) I do have double buffering on2) i have set the wm_erasebkgnd case to return 0;3) this code worked fine in othe ...

When does -transform affect the backface-visibility?

lately I've been having a lot of issues with -transform and -backface-visibility.I am developing for the iPhone right now so obviously everything is done for it's webkit browser.The Problem is that in some cases single Objects inside a DIV container are not affected by the -backface-visibility:hidde ...

Orthographic Frustum Culling

I am currently using the method described in the following article to obtain Frustum planes:http://www2.ravensoft.com/users/ggribb/plane%20extraction.pdf I use this for culling against a perspective matrix. However, it is sometimes necessary for me to cull against an Orthographic matrix as well.Can ...

Culling data from Front Page forms

I have a client who insists on designing his pages himself using Front Page. What sort of problems can I anticipate mating PHP and Front Page manufactured pages, specifically forms data?PAS ...

Help with SQL query (Calculate a ratio between two entitiess)Hi, I’m going to calcul

I’m going to calculate a ratio between two entities but are having some trouble with the query.The principal is the same to, say a forum, where you say:A user gets points for every new thread. Then, calculate the ratio of points for the number of threads.Example:User A has 300 points. User A has st ...

Ubuntu Fórmules del full de càlcul

Bona Tarda,Aquest matí he actualitzat l'Ubuntu a l'última versió i el paquet de Libre Office, concretament el full de calcul, no em carrega el nom de les fórmules en català, només en anglès, tot i que he desactivat aquesta opció en les opcions de configuració.Sabeu com arranjar-ho?Gràcies ...

jQuery Calculate values from multiple checkboxes and one textbox

HelloI need help with this code. I am beginner.My platform PHP, MySQL. I am not very familiar with Javascript.I need to calculate value of each Checkbox List (Price) plus value from one TextBox (PrixBase)I have found this JQuery which works great in my case, but it make append two numbers instead ca ...

jQuery Conflit entre lightwindow (popup avec effet) et markitup (textarea avec barre d'édition)

Est-ce que quelqu'un peut me dire comment résoudre ce problème qui me semble être un conflit entre des fonctions. - Si je place jquery après les scripts lightwindow alors markitup  fonctionne mais les popup lightwindow ne fonctionnent pas - Si je place jquery en première ligne avant les sc ...

problem in taking values from multiple forms (nooby question)

this is my first atempt in writing javascript and i have a problem which I have no idea how to solve.I want to take the values from several dropdown forms and make some calculations whit those in order to display a number. Unfortunately the script responts in a way that i cannot identify what is hap ...

Applications won't install at boot or, go polish your nails and wait

I got hammered by a bad spy-adware virus. Two browser hijackers and two other things, it was ugly. I swore a LOT, in two languages. After downloading helpful programs to get rid of it all, 4 days deleting files, having it all pop up again and again, hand culling the registry, getting advice from a v ...

Trouble with instant quotes

This is my very first javascript (I have limited knowledge C++ and php). I am trying to make an instant quote calculator, but having some trouble. I want to display the result of the calculation in the textbox with id price.<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ...

How to write on the same page?

Hi, I wanted to now the method for how to write a value in on a same page without losing all the rest of the page. IN the cas of my script it should bee in the "r" box.{code}<html><head><title>Calcul de force électrique </title><SCRIPT LANGUAGE="JavaScript ...

A script for try!

I am not a Java programmer not C++ programmer. I was a Pascal programmer...I belive that C++ it is a language for supermen!Well, I would like to lear JSP at least!Thus could you please provide me a script (for calcul or for open a, access database or more simple? ) I would like try it under my websi ...

Game Programming: An Article

IntroductionOver the years, I've seen people post gaming questions again and again on online forums. Essentially, they go something like this:"I am programming a game called [Insert Name]. It is a lot like [Insert Popular Game Title] but will be better. Can someone tell me where to start?" ...

MySQL Complex Sum

Thank you for your attention. The aim is to calculate a total price I have a table with id_prod PURCHASE product = ty_doc = document type nu_doc = document number nucdli = code of document linked px_com = price of the order We have : Code: CREATE TABLE tbl_ligneachat (id_prod char(1), ty_doc char(3) ...

Complex Sum

Thank you for your attention. The aim is to calculate a total price I have a table with id_prod PURCHASE product = ty_doc = document type nu_doc = document number nucdli = code of document linkedpx_com = price of the order We have :CREATE TABLE tbl_ligneachat (id_prod char(1), ty_doc char(3), nu_doc ...

3D Css with Javascript

I am following this wonderful Css 3D effect @http://www.eleqtriq.com/2010/11/natural-object-rotation-with-css3-3d/I am having trouble with passing ID's into functions here, specifically I am receiving an syntax error (below in Bold)______________Here is my code:<!DOCTYPE html PUBLIC "-//W3C/ ...

optimize hash file

HyeI'm back on how to optimize hash file, already I use dynamic hash file but I want to perform this pointSo I have a 8 millions records file that are grouped with common key a 3 char fields key (one of 2 char, one of 7 and one of 2 ) and a field of 12 char but not in the key, so the lenght is 23 an ...

values form PHP in JS/HTML

I have a JavaScript which is calculating some things based on exchange rate, In this script I use 2 values for EURO and USD which I get them from a form.calcul.html ... <SCRIPT LANGUAGE="JavaScript"> .... var eq_euro = document.frm_taxe.eq_euro.value; var eq_usd = document.frm_taxe.e ...

Assmebly Timer

everyone, I am trying to make a timer in assembly.The user has to type the timer value (in seconds) and a beep occurs when the time is elapsed.I think i'm not far from the end but i got an error i can't seem to find :/ the program should work like this : I encode timer value in TIMERi get actual sec ...

Need help to determine F0 in VC++

I want to write a program which can determine the fundamental frequency Fo by the Cepstrum method. I can write a program which can calcul the cepstre in VC, data is in a wave file. But I cannot determine the F0. All I need is a code determine the Fo from the cepstre.Can you show me a way or a source ...

new to database design, seeking consult

HiI am an architectural graduate student with nil experience designing and developing databases. I understand how they work on a schematic level though I am not up on the terminology. I have played only superficially with Access and Visio and I understand that Blog type websites have databases (cont ...

DirectX 9 Problems.

i'm learning Direct3D 9.i wrote an application (code attached), and those are the problems.1. lights, as you can see in the attachment, there is a problem with the light. i'm using D3DLIGHT_DIRECTIONAL type, and it is not enough to light all the terrain, so i added another light (light one toggled b ...

[ Recruiting ] Galactic Vice

Team name:Electric Eye Productions. The Electric Eye Productions is a group of Open Source developers dedicated to produce commercial quality - but free - games for both Windows and Linux. The EEP was originally founded by a group of high school friends, but over the years has developed into the int ...

Legacy DOORS forum

Paul and others,> as the existing forums provide a valuable resource they really must be moved over and not lost. > Anything else would be a retrograde step.Thanks for your comments in the welcome thread. I moved it to a new thread to keep this legacy forum discussion from clogging up a welcom ...

Big dilemma

Ok my friends...I volunteered to do some PHP coding for a small non-profit that needs a lot of help. The guy who built their existing website wouldn't let me have access for months - but then I finally got around him to see what he had built... it is a nightmare - and I need help figuring out what t ...

please help find my error code

i have write a javascript code in dreamweaver mx 2004 :here is the screenshoot of my page :Summary for the picture is :input in : Body weight, actual albumin, target albumin, is a number : decimal and or absolute numberi need this tabel work if i fill in input of body weight, actual albumin, and tar ...

jQuery Problems with slider stop

I try to create two sliders that allow me to choose the size of an image along its height and width.So a slider for the width and a slider for the height.To calculate the actual size in cm of an image, I import my image then I calculate its size depending on the width and height in pixels.For now, e ...

Debug running...

I've made a DLL using MFC.When i run it in debug mode, i've got the following messages in the output window:Loaded 'D:\Giris\Bin\GirisEP.exe', no matching symbolic information found.Loaded 'C:\WINNT\System32\ntdll.dll', no matching symbolic information found.Loaded 'C:\WINNT\system32\Mfc42.dll', no ...

Calculate a string

i search a function who calcul an equation in a string.. and who return the result! If possible an API or a function in a .dll, cause i need to use this function in other language that C++...here is an example :FunctionX("2 * 2 + 3") //return 7 ...

Access Violation...

when i execute my program in the debug mode, i can watch some messages in the debug window. Here they are:Loaded 'D:\Giris\Bin\GirisEP.exe', no matching symbolic information found.Loaded 'C:\WINNT\System32\ntdll.dll', no matching symbolic information found.Loaded symbols for 'C:\WINNT\system32\MFC42 ...

design question

I have a large array of 2d points, in order to accelerate all sorts of spatial querys I have assigned each point to a particular cell in a 2d grid. when I want to find for e.g. all points within a certain box I can perfrom simple floor/ceil math to find all intersecting cells, this then culls away a ...

In theory

Good afternoon:I have been considering the idea of an automated browser that would go to a defined website, culling text and returning it to a home workstation, saving it to a file; now, this should be a simple program written in C++, and it would not be used as a stand-alone app, but a module of a ...

Oracle Optimisation SQL

I have a query and to optimize this the develloper add ||'' at the end.I d'ont understand why the optimisation is so good.Original query SELECT DISTINCT nulig,dtcalcFROM ligne l,calcul c,mouvement mWHERE m.cdentjur = c.cdentjurAND m.cdeme = c.cdemeAND c.cdstt = 'A'AND m.cdpor = l.cdporAND m.cdval = ...

Ubuntu problems with GDM

So yesterday i went on a massive package culling spree, and then had the good sense to restart my computer.But i think i killed GDM, or one of it's dependencies. Initially it couldnt start GDM, but after 'sudo apt-get purge gdm' and then apt-get install gdm, /etc/init.d/gdm status returns * gdm is r ...

Ubuntu cleaning out a Kernel

So, after deciding i needed a few speed boosts and could do with culling a bit of unnecessary **** inside the kernel, i headed on over to kernel.org and got the latest kernel. After a bit of tweaking and ****, i got to the point where i went --append-to-version=BenstweakThat was a big mistake.Now ma ...

GLFW frame rate

I am actually working on a simulation to draw little cube.I would like to fix the frame rate of the display.I've got the idea of creating a timer which will call glswapbuffer every xx time but it seems not to work.Here is the code :#include "main.h"//--------------------------------------- ...

OpenGL - Bezier curve problem

I'm using cubic bezier curves. I having a some trouble. Instead of using lines to draw the curves, I want to use cubes. I've managed to changed it but when I draw 1 curve, it shows many cubes spaced out.How can I get the cubes to stay together to make them the way I want using the points I've chosen ...

DirectX: Rendering Transparency

Hi, I'm having trouble getting DirectX to render transparency with my program. I've basically taken the Textures tutorial from DirectX and messed around with it a bit. I set it up so that the camera is staring at the center of a board made up of squares of the a background tile drawn repeatedly. Wha ...

Problems with Projection and View Matrix

I am working with Managed DirectX in C#. I have 4 panels set up which are each being drawn to.I have the following code to draw to these panels:-------------------------------------------------m_aDevices[i].Transform.Projection = Matrix.PerspectiveFovLH((float)Math.PI / 4, m_aDevices[i].Viewport.Wid ...

hidden surface removal question

i'm trying determine the visible surfaces of a cube. i want to follow the back face culling method (by surface normals and view vectors). is it necessary to order the points of a surface in clockwise or counterclockwise to determine which way the normal is facing from the view vector?? what should d ...

OCX Problem

I am developping a web tool which calls an OCX to do some operations on files.However, this OCX causes me some problems.In fact, the web interface in PHP generates some text files.Then, the tool calls the OCX with these files.$Method2 = new COM("ImpactDLL.ctrlImpact"); // My OCX// Some Par ...

Positioning a javascript menu

How can i place a javascript menu inside a table?I have created a js menu, but i can only seem to position it from the edge and top of the page, and not inside a table, which i require. The problem is, that when the browser window is adjusted in size, the menu moves with the browser, thus taking the ...

Calling Forum w/ consistent header/bkgd

I've been culling the net for days, but can't find a savvy solution to this problem. Hoping some of the talented techs here could lead me in the right direction!I'd like to add a SMF Forum to my Wordpress site and keep the general look and navigation of the site consistent. I'm not looking for datab ...

Ubuntu Problems with ATI Radeon X1250 (grrr)

From what I understand, this is not an uncommon compatability issue...even across multiple linux distributions...I've been culling through the forums trying to find some kind of answer that's going to work.I went to AMD and downloaded the Linux driver and installed it...nothing.when I ran:$ sudo upd ...

When my program run (exe), my CPU = 100 %

I would like to use an other program during my prog run but am not able because de CPU was around 100%. What can I do for thatMy prog make calcul between 30 and 45 minutes. It will be long when I need to use an other app. ...