AlgebraMaster

Modern C++ 创造非凡 . 改变世界

导航

上一页 1 ··· 4 5 6 7 8 9 10 11 下一页

2017年10月18日 #

Delaunay triangulation

摘要: 1,先花个圆: detail模式执行。 #define XY 0x00 #define XZ 0x01 #define YZ 0x02 #define pi 3.1415926 #define close 0x01 #define unclose 0x00 vector center = {1,0, 阅读全文

posted @ 2017-10-18 14:52 gearslogy 阅读(423) 评论(0) 推荐(0) 编辑

2017年9月30日 #

Rasterization 学习笔记

摘要: Barycentric interpolation <1>2d/3d Check point in triangle test float areas(vector p1;vector p2;vector p3) { return length(cross(p1-p2,p3-p2)) * 0.5f; 阅读全文

posted @ 2017-09-30 19:41 gearslogy 阅读(438) 评论(0) 推荐(0) 编辑

2017年9月27日 #

系统/英语专栏

摘要: win7共享无线网卡为热点。 netsh wlan set hostednetwork mode=allow netsh wlan set hostednetwork ssid=Hostpot key=12345678 netsh wlan start hostednetwork 手机就可以连接了 阅读全文

posted @ 2017-09-27 12:06 gearslogy 阅读(353) 评论(0) 推荐(0) 编辑

2017年8月29日 #

Houdini OpenCL

摘要: SOP: simple moveKernel #include "interpolate.h" float lerpConstant( constant float * in, int size, float pos); float3 getFloat3(global float * data, i 阅读全文

posted @ 2017-08-29 13:05 gearslogy 阅读(677) 评论(0) 推荐(0) 编辑

2017年8月26日 #

CMake的一些正确姿势

摘要: 0,设置Debug / Release: CMakeLists.txt: SET(CMAKE_BUILD_TYPE "Debug”) or SET(CMAKE_BUILD_TYPE "Release") 用参数设置 mkdir Release cd Release cmake -DCMAKE_BUI 阅读全文

posted @ 2017-08-26 14:04 gearslogy 阅读(525) 评论(0) 推荐(0) 编辑

2017年8月19日 #

Simple scatter method in 2d picture(Qt)

摘要: Result: grayMap: MathTools: // // Created by Administrator on 2017/8/17. // #ifndef QTSCATTER_MATHTOOLS_H #define QTSCATTER_MATHTOOLS_H #include <stri 阅读全文

posted @ 2017-08-19 10:41 gearslogy 阅读(352) 评论(0) 推荐(0) 编辑

2017年7月3日 #

GPU Tips

摘要: <1> Basic #include <stdio.h> #include <cuda_runtime.h> #include <device_launch_parameters.h> #define NUM 15 __global__ void square(float *dout,float * 阅读全文

posted @ 2017-07-03 20:55 gearslogy 阅读(270) 评论(0) 推荐(0) 编辑

2017年5月24日 #

Maya API Test

摘要: import maya.OpenMaya as OpenMaya import maya.OpenMayaMPx as OpenMayaMPx sl = OpenMaya.MSelectionList() OpenMaya.MGlobal.getActiveSelectionList(sl) ite 阅读全文

posted @ 2017-05-24 18:04 gearslogy 阅读(1063) 评论(0) 推荐(0) 编辑

2017年5月16日 #

learn git

摘要: 学习地址:http://www.liaoxuefeng.com GIT2.2编译: 1 , 注册用户: 2 , 创建版本库: $mkdir learngit $git init $readme.txt 在readme.txt写入 $git add readme.txt $git commit -m 阅读全文

posted @ 2017-05-16 14:58 gearslogy 阅读(394) 评论(0) 推荐(0) 编辑

2017年5月9日 #

托马斯微积分 从入门到失望

摘要: 决定把例题用程序都完成一遍。从最基本的开始:语言选择用python,vex,Houdini作图 <1> a,求球的体积.半径为4,中心点为0,左断点为-4,右断点为4 import math radius = 4.000 diameter = radius *2 # sphere r=4 R=8 # 阅读全文

posted @ 2017-05-09 17:04 gearslogy 阅读(20069) 评论(1) 推荐(0) 编辑

上一页 1 ··· 4 5 6 7 8 9 10 11 下一页