'Computation > Language' 카테고리의 다른 글
visual c++ solution - dsw (0) | 2008.08.12 |
---|---|
16진수 10진수로 변환 strtol() (0) | 2008.08.12 |
Python tutorials (0) | 2008.02.24 |
Using Python for CGI programming (0) | 2007.07.11 |
classes in Python (0) | 2007.07.11 |
visual c++ solution - dsw (0) | 2008.08.12 |
---|---|
16진수 10진수로 변환 strtol() (0) | 2008.08.12 |
Python tutorials (0) | 2008.02.24 |
Using Python for CGI programming (0) | 2007.07.11 |
classes in Python (0) | 2007.07.11 |
OpenFrameworks (2) | 2008.06.18 |
---|---|
Conceptual Wavelets (0) | 2008.05.27 |
Physical Computing (0) | 2007.11.17 |
Visualization Toolkit (VTK) (0) | 2007.07.09 |
Fundamentals of network media (0) | 2007.05.29 |
16진수 10진수로 변환 strtol() (0) | 2008.08.12 |
---|---|
numeric library (0) | 2008.03.18 |
Using Python for CGI programming (0) | 2007.07.11 |
classes in Python (0) | 2007.07.11 |
Python (0) | 2007.06.26 |
The Fractal Flame Algorithm
(ref) A Multi-Resolution Video Scheme for Multimedia Information Servers in Mobile Computing Environment (0) | 2008.05.21 |
---|---|
sorting algorithms (0) | 2008.03.24 |
steering vector (0) | 2007.06.25 |
Boids (0) | 2007.06.21 |
Particle System (0) | 2007.04.30 |
Intelligent / smart environment (0) | 2009.02.14 |
---|---|
VRML (Virtual Reality Modeling Language) (0) | 2008.07.09 |
A New Vision for Pervasive Computing: Moving Beyond Sense and Send (0) | 2007.11.21 |
Making Scents: aromatic output for HCI (0) | 2007.02.25 |
Humane Interface (by Jef Raskin) (0) | 2006.04.26 |
Intelligent / smart environment (0) | 2009.02.14 |
---|---|
VRML (Virtual Reality Modeling Language) (0) | 2008.07.09 |
Body without entity (0) | 2007.12.10 |
Making Scents: aromatic output for HCI (0) | 2007.02.25 |
Humane Interface (by Jef Raskin) (0) | 2006.04.26 |
Conceptual Wavelets (0) | 2008.05.27 |
---|---|
Galileo Method (0) | 2008.02.27 |
Visualization Toolkit (VTK) (0) | 2007.07.09 |
Fundamentals of network media (0) | 2007.05.29 |
Name Server 변경 (0) | 2007.05.18 |
numeric library (0) | 2008.03.18 |
---|---|
Python tutorials (0) | 2008.02.24 |
classes in Python (0) | 2007.07.11 |
Python (0) | 2007.06.26 |
features of object-oriented programming (0) | 2007.06.20 |
obj.name
.Python tutorials (0) | 2008.02.24 |
---|---|
Using Python for CGI programming (0) | 2007.07.11 |
Python (0) | 2007.06.26 |
features of object-oriented programming (0) | 2007.06.20 |
내 컴퓨터에서 Processing의 source code 보기 (0) | 2007.04.19 |
VTK | |
Developer: | Kitware Inc. |
---|---|
Latest release: | 5.0.2 |
OS: | Cross-platform |
Available language(s): | C++, Tcl, Python, Java |
Genre: | Scientific visualization |
License: | BSD-like |
Website: | www.vtk.org |
<The Design and Implementation Of An Object-Oriented Toolkit For 3D Graphics and Visualization> William J. Schroeder, Kenneth M. Martin, William E. Lorensen (GE Corporate Research & Development)
Galileo Method (0) | 2008.02.27 |
---|---|
Physical Computing (0) | 2007.11.17 |
Fundamentals of network media (0) | 2007.05.29 |
Name Server 변경 (0) | 2007.05.18 |
physics engine (0) | 2007.05.03 |
Paradigm: | Multi-paradigm | |||||||
---|---|---|---|---|---|---|---|---|
Appeared in: | 1991 | |||||||
Designed by: | Guido van Rossum | |||||||
Developer: | Python Software Foundation | |||||||
Latest release: | 2.5.1 / April 18, 2007 | |||||||
Typing discipline: | Strong, dynamic ("duck typing") | |||||||
Major implementations: | CPython, Jython, IronPython, PyPy | |||||||
Dialects: | Stackless Python | |||||||
Influenced by: | ABC, ALGOL 68[1], C, Haskell, Icon, Lisp, Modula-3, Perl, Java | |||||||
Influenced: | Ruby, Boo, Groovy | |||||||
OS: | Cross-platform | |||||||
License: | Python Software Foundation License | |||||||
Website: | http://www.python.org/ |
Using Python for CGI programming (0) | 2007.07.11 |
---|---|
classes in Python (0) | 2007.07.11 |
features of object-oriented programming (0) | 2007.06.20 |
내 컴퓨터에서 Processing의 source code 보기 (0) | 2007.04.19 |
<HeadFirst Java> 클래스와 객체 (0) | 2007.03.16 |
sorting algorithms (0) | 2008.03.24 |
---|---|
fractal flame (0) | 2007.12.29 |
Boids (0) | 2007.06.21 |
Particle System (0) | 2007.04.30 |
Pseudo-random (0) | 2007.04.27 |
Craig W. Reynolds called the generic simulated flocking creatures boids. The basic flocking model consists of three simple steering behaviors which describe how an individual boid maneuvers based on the positions and velocities its nearby flockmates.
initialise_positions()
LOOP
draw_boids()
move_all_boids_to_new_positions()
END LOOP
PROCEDURE move_all_boids_to_new_positions()
Vector v1, v2, v3
Boid b
FOR EACH BOID b
v1 = rule1(b)
v2 = rule2(b)
v3 = rule3(b)
b.velocity = b.velocity + v1 + v2 + v3
b.position = b.position + b.velocity
END
END PROCEDURE
fractal flame (0) | 2007.12.29 |
---|---|
steering vector (0) | 2007.06.25 |
Particle System (0) | 2007.04.30 |
Pseudo-random (0) | 2007.04.27 |
noise (0) | 2007.04.21 |
classes in Python (0) | 2007.07.11 |
---|---|
Python (0) | 2007.06.26 |
내 컴퓨터에서 Processing의 source code 보기 (0) | 2007.04.19 |
<HeadFirst Java> 클래스와 객체 (0) | 2007.03.16 |
Java tutorials (0) | 2007.02.28 |
Physical Computing (0) | 2007.11.17 |
---|---|
Visualization Toolkit (VTK) (0) | 2007.07.09 |
Name Server 변경 (0) | 2007.05.18 |
physics engine (0) | 2007.05.03 |
shiffman's ICM @NYU (0) | 2006.04.11 |
안녕하세요. DNS에버입니다.
도메인에 대한 네임서버 변경은 그 내용이 전파되는데에는 최대 2~3일 걸릴
수 있습니다.
whois 서버에 업데이트는 즉시 되더라도, 네임서버에 바로 업데이트되는 것이
아니고, 도메인의 종류(.com .kr)에 따라 하루에 1~3번 사이만 업데이트되어
루트서버에 입력이되고,
또한 전세계 DNS에 남아 있는 cache 내용이 사라지려면 2~3일 걸릴 수 있는 것
입니다. ( 해당내용은 여기 게시판에 여러번 설명되어 있으므로 참조하십시오)
nslookup 으로 확인했을 때, 서버가 죽어있는 것으로 나온 것
C:\>nslookup -q=A www.interwhite.net ns1.dnsever.com
*** Can't find server name for address 222.231.0.1: Server failed
Server: UnKnown
Address: 222.231.0.1
Name: www.interwhite.net
Address: 211.172.252.15
위와 같이 나오는 것은 DNS서버가 죽은 것이 아니라,
도스창의 nslookup 은 DNS의 reverse 네임까지 불필요하게 쿼리를 해서
나오는 현상인 것입니다. ( 오해의 소지가 있을까바
해당 문제 발생하지 않도록 조치를 했습니다. )
위와 같이 확인해보면 , 회원님의 도메인 www.interwhite.net 의
IP주소가 제대로 나오는 것을 확인하실 수 있을 것입니다.
metel wrote..
: 도메인 주소로 연결이 되지 않습니다.
: 네임서버를 dnsever로 옮기고, whois에서 확인을 해 보니 잠시 후 변경이 되 었
: 더군요.
: 그런데 막상 연결이 되지 않아 안내대로 nslookup으로 확인을 했더니
: 서버가 죽어 있다고 나옵니다.
: 도메인을 구입한 업체에 문의했더니 이쪽에서 알아보라고 하네요.
: 도메인 이름은 interwhite.net 입니다.
: 어떻게 된 일인지 빠른 답변 부탁드립니다.
Visualization Toolkit (VTK) (0) | 2007.07.09 |
---|---|
Fundamentals of network media (0) | 2007.05.29 |
physics engine (0) | 2007.05.03 |
shiffman's ICM @NYU (0) | 2006.04.11 |
Ajax and Web 2.0 (0) | 2006.03.27 |
Fundamentals of network media (0) | 2007.05.29 |
---|---|
Name Server 변경 (0) | 2007.05.18 |
shiffman's ICM @NYU (0) | 2006.04.11 |
Ajax and Web 2.0 (0) | 2006.03.27 |
code search engine (0) | 2006.02.18 |
Willian T. Reeves <Particle Systems—a Technique for Modeling a Class of Fuzzy Objects>
Karl Sims <Particle animation and rendering using data parallel computation>
Alain Fournier (University of Toronto) & Don Fussell (The University of Texas at Austin) & Loren Carpenter (Lucasfilm) <Computer Rendering of Stochastic Models>
steering vector (0) | 2007.06.25 |
---|---|
Boids (0) | 2007.06.21 |
Pseudo-random (0) | 2007.04.27 |
noise (0) | 2007.04.21 |
Perlin Noise (0) | 2007.04.21 |
steering vector (0) | 2007.06.25 |
---|---|
Boids (0) | 2007.06.21 |
Particle System (0) | 2007.04.30 |
noise (0) | 2007.04.21 |
Perlin Noise (0) | 2007.04.21 |
steering vector (0) | 2007.06.25 |
---|---|
Boids (0) | 2007.06.21 |
Particle System (0) | 2007.04.30 |
Pseudo-random (0) | 2007.04.27 |
Perlin Noise (0) | 2007.04.21 |
the algorithm Ken Perlin described in the SIGGRAPH 2002 paper
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
float bias(float a, float b)
{
return pow(a, log(b) / log(0.5));
}
float gain(float a, float b)
{
float p = log(1. - b) / log(0.5);
if (a < .001)
return 0.;
else if (a > .999)
return 1.;
if (a < 0.5)
return pow(2 * a, p) / 2;
else
return 1. - pow(2 * (1. - a), p) / 2;
}
float noise1(float arg);
float noise2(float vec[]);
float noise3(float vec[]);
float noise(float vec[], int len)
{
switch (len) {
case 0:
return 0.;
case 1:
return noise1(vec[0]);
case 2:
return noise2(vec);
default:
return noise3(vec);
}
}
float turbulence(float *v, float freq)
{
float t, vec[3];
for (t = 0. ; freq >= 1. ; freq /= 2) {
vec[0] = freq * v[0];
vec[1] = freq * v[1];
vec[2] = freq * v[2];
t += fabs(noise3(vec)) / freq;
}
return t;
}
/* noise functions over 1, 2, and 3 dimensions */
#define B 0x100
#define BM 0xff
#define N 0x1000
#define NP 12 /* 2^N */
#define NM 0xfff
static p[B + B + 2];
static float g3[B + B + 2][3];
static float g2[B + B + 2][2];
static float g1[B + B + 2];
static start = 1;
static void init(void);
#define s_curve(t) ( t * t * (3. - 2. * t) )
#define lerp(t, a, b) ( a + t * (b - a) )
#define setup(i,b0,b1,r0,r1)\
t = vec[i] + N;\
b0 = ((int)t) & BM;\
b1 = (b0+1) & BM;\
r0 = t - (int)t;\
r1 = r0 - 1.;
float noise1(float arg)
{
int bx0, bx1;
float rx0, rx1, sx, t, u, v, vec[1];
vec[0] = arg;
if (start) {
start = 0;
init();
}
setup(0, bx0,bx1, rx0,rx1);
sx = s_curve(rx0);
u = rx0 * g1[ p[ bx0 ] ];
v = rx1 * g1[ p[ bx1 ] ];
return lerp(sx, u, v);
}
float noise2(float vec[2])
{
int bx0, bx1, by0, by1, b00, b10, b01, b11;
float rx0, rx1, ry0, ry1, *q, sx, sy, a, b, t, u, v;
register i, j;
if (start) {
start = 0;
init();
}
setup(0, bx0,bx1, rx0,rx1);
setup(1, by0,by1, ry0,ry1);
i = p[ bx0 ];
j = p[ bx1 ];
b00 = p[ i + by0 ];
b10 = p[ j + by0 ];
b01 = p[ i + by1 ];
b11 = p[ j + by1 ];
sx = s_curve(rx0);
sy = s_curve(ry0);
#define at2(rx,ry) ( rx * q[0] + ry * q[1] )
q = g2[ b00 ] ; u = at2(rx0,ry0);
q = g2[ b10 ] ; v = at2(rx1,ry0);
a = lerp(sx, u, v);
q = g2[ b01 ] ; u = at2(rx0,ry1);
q = g2[ b11 ] ; v = at2(rx1,ry1);
b = lerp(sx, u, v);
return lerp(sy, a, b);
}
float noise3(float vec[3])
{
int bx0, bx1, by0, by1, bz0, bz1, b00, b10, b01, b11;
float rx0, rx1, ry0, ry1, rz0, rz1, *q, sy, sz, a, b, c, d, t, u, v;
register i, j;
if (start) {
start = 0;
init();
}
setup(0, bx0,bx1, rx0,rx1);
setup(1, by0,by1, ry0,ry1);
setup(2, bz0,bz1, rz0,rz1);
i = p[ bx0 ];
j = p[ bx1 ];
b00 = p[ i + by0 ];
b10 = p[ j + by0 ];
b01 = p[ i + by1 ];
b11 = p[ j + by1 ];
t = s_curve(rx0);
sy = s_curve(ry0);
sz = s_curve(rz0);
#define at3(rx,ry,rz) ( rx * q[0] + ry * q[1] + rz * q[2] )
q = g3[ b00 + bz0 ] ; u = at3(rx0,ry0,rz0);
q = g3[ b10 + bz0 ] ; v = at3(rx1,ry0,rz0);
a = lerp(t, u, v);
q = g3[ b01 + bz0 ] ; u = at3(rx0,ry1,rz0);
q = g3[ b11 + bz0 ] ; v = at3(rx1,ry1,rz0);
b = lerp(t, u, v);
c = lerp(sy, a, b);
q = g3[ b00 + bz1 ] ; u = at3(rx0,ry0,rz1);
q = g3[ b10 + bz1 ] ; v = at3(rx1,ry0,rz1);
a = lerp(t, u, v);
q = g3[ b01 + bz1 ] ; u = at3(rx0,ry1,rz1);
q = g3[ b11 + bz1 ] ; v = at3(rx1,ry1,rz1);
b = lerp(t, u, v);
d = lerp(sy, a, b);
return lerp(sz, c, d);
}
static void normalize2(float v[2])
{
float s;
s = sqrt(v[0] * v[0] + v[1] * v[1]);
v[0] = v[0] / s;
v[1] = v[1] / s;
}
static void normalize3(float v[3])
{
float s;
s = sqrt(v[0] * v[0] + v[1] * v[1] + v[2] * v[2]);
v[0] = v[0] / s;
v[1] = v[1] / s;
v[2] = v[2] / s;
}
static void init(void)
{
int i, j, k;
for (i = 0 ; i < B ; i++) {
p[i] = i;
g1[i] = (float)((random() % (B + B)) - B) / B;
for (j = 0 ; j < 2 ; j++)
g2[i][j] = (float)((random() % (B + B)) - B) / B;
normalize2(g2[i]);
for (j = 0 ; j < 3 ; j++)
g3[i][j] = (float)((random() % (B + B)) - B) / B;
normalize3(g3[i]);
}
while (--i) {
k = p[i];
p[i] = p[j = random() % B];
p[j] = k;
}
for (i = 0 ; i < B + 2 ; i++) {
p[B + i] = p[i];
g1[B + i] = g1[i];
for (j = 0 ; j < 2 ; j++)
g2[B + i][j] = g2[i][j];
for (j = 0 ; j < 3 ; j++)
g3[B + i][j] = g3[i][j];
}
}
steering vector (0) | 2007.06.25 |
---|---|
Boids (0) | 2007.06.21 |
Particle System (0) | 2007.04.30 |
Pseudo-random (0) | 2007.04.27 |
noise (0) | 2007.04.21 |
Python (0) | 2007.06.26 |
---|---|
features of object-oriented programming (0) | 2007.06.20 |
<HeadFirst Java> 클래스와 객체 (0) | 2007.03.16 |
Java tutorials (0) | 2007.02.28 |
The Java™ Tutorials (0) | 2007.02.28 |
features of object-oriented programming (0) | 2007.06.20 |
---|---|
내 컴퓨터에서 Processing의 source code 보기 (0) | 2007.04.19 |
Java tutorials (0) | 2007.02.28 |
The Java™ Tutorials (0) | 2007.02.28 |
The Java Technology (0) | 2007.02.28 |
내 컴퓨터에서 Processing의 source code 보기 (0) | 2007.04.19 |
---|---|
<HeadFirst Java> 클래스와 객체 (0) | 2007.03.16 |
The Java™ Tutorials (0) | 2007.02.28 |
The Java Technology (0) | 2007.02.28 |
<HeadFirst Java> (0) | 2006.07.13 |
<HeadFirst Java> 클래스와 객체 (0) | 2007.03.16 |
---|---|
Java tutorials (0) | 2007.02.28 |
The Java Technology (0) | 2007.02.28 |
<HeadFirst Java> (0) | 2006.07.13 |
Java (0) | 2006.05.17 |